diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-11-03 17:22:00 -0800 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-11-04 08:12:52 -0800 |
commit | 462e19abd9034c11a12cad30e9899740f2bef8ff (patch) | |
tree | e08667f1d69249f8daa6c348a919bd0fd5434415 /src/DotNetOpenAuth.Test/OAuth/ConsumerDescription.cs | |
parent | 6a79be0eca3929d8fb4e797799dac8d6f7875475 (diff) | |
download | DotNetOpenAuth-462e19abd9034c11a12cad30e9899740f2bef8ff.zip DotNetOpenAuth-462e19abd9034c11a12cad30e9899740f2bef8ff.tar.gz DotNetOpenAuth-462e19abd9034c11a12cad30e9899740f2bef8ff.tar.bz2 |
Changed namepace and project names in preparation for merge with DotNetOpenId.
Diffstat (limited to 'src/DotNetOpenAuth.Test/OAuth/ConsumerDescription.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/OAuth/ConsumerDescription.cs | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.Test/OAuth/ConsumerDescription.cs b/src/DotNetOpenAuth.Test/OAuth/ConsumerDescription.cs new file mode 100644 index 0000000..625f416 --- /dev/null +++ b/src/DotNetOpenAuth.Test/OAuth/ConsumerDescription.cs @@ -0,0 +1,38 @@ +//----------------------------------------------------------------------- +// <copyright file="ConsumerDescription.cs" company="Andrew Arnott"> +// Copyright (c) Andrew Arnott. All rights reserved. +// </copyright> +//----------------------------------------------------------------------- + +namespace DotNetOpenAuth.Test { + /// <summary> + /// Information necessary to initialize a <see cref="Consumer"/>, + /// and to tell a <see cref="ServiceProvider"/> about it. + /// </summary> + /// <remarks> + /// Immutable. + /// </remarks> + internal class ConsumerDescription { + /// <summary> + /// Initializes a new instance of the <see cref="ConsumerDescription"/> class. + /// </summary> + /// <param name="key">The consumer key.</param> + /// <param name="secret">The consumer secret.</param> + internal ConsumerDescription(string key, string secret) { + this.ConsumerKey = key; + this.ConsumerSecret = secret; + } + + /// <summary> + /// Gets the consumer key. + /// </summary> + /// <value>The consumer key.</value> + internal string ConsumerKey { get; private set; } + + /// <summary> + /// Gets the consumer secret. + /// </summary> + /// <value>The consumer secret.</value> + internal string ConsumerSecret { get; private set; } + } +} |