diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-09-28 21:31:53 -0700 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-10-02 07:33:04 -0700 |
commit | 14ae6f8a7cbc8c11902733a9cc252a2f1785adfe (patch) | |
tree | 6a0c79006b2ac9b062874a44644e8ee6ddec40a3 /src | |
parent | 209d9eee7134e742fa7ec0a0b55bea9fd83ecf87 (diff) | |
download | DotNetOpenAuth-14ae6f8a7cbc8c11902733a9cc252a2f1785adfe.zip DotNetOpenAuth-14ae6f8a7cbc8c11902733a9cc252a2f1785adfe.tar.gz DotNetOpenAuth-14ae6f8a7cbc8c11902733a9cc252a2f1785adfe.tar.bz2 |
Made a bunch of interfaces and classes public to allow Consumer sample.
Diffstat (limited to 'src')
5 files changed, 7 insertions, 7 deletions
diff --git a/src/DotNetOAuth/ChannelElements/HmacSha1SigningBindingElement.cs b/src/DotNetOAuth/ChannelElements/HmacSha1SigningBindingElement.cs index 5dbffed..67246af 100644 --- a/src/DotNetOAuth/ChannelElements/HmacSha1SigningBindingElement.cs +++ b/src/DotNetOAuth/ChannelElements/HmacSha1SigningBindingElement.cs @@ -12,11 +12,11 @@ namespace DotNetOAuth.ChannelElements { /// <summary>
/// A binding element that signs outgoing messages and verifies the signature on incoming messages.
/// </summary>
- internal class HmacSha1SigningBindingElement : SigningBindingElementBase {
+ public class HmacSha1SigningBindingElement : SigningBindingElementBase {
/// <summary>
/// Initializes a new instance of the <see cref="HmacSha1SigningBindingElement"/> class
/// </summary>
- internal HmacSha1SigningBindingElement()
+ public HmacSha1SigningBindingElement()
: base("HMAC-SHA1") {
}
diff --git a/src/DotNetOAuth/ChannelElements/PlainTextSigningBindingElement.cs b/src/DotNetOAuth/ChannelElements/PlainTextSigningBindingElement.cs index 7181580..73bb6c2 100644 --- a/src/DotNetOAuth/ChannelElements/PlainTextSigningBindingElement.cs +++ b/src/DotNetOAuth/ChannelElements/PlainTextSigningBindingElement.cs @@ -15,11 +15,11 @@ namespace DotNetOAuth.ChannelElements { /// <summary>
/// A binding element that signs outgoing messages and verifies the signature on incoming messages.
/// </summary>
- internal class PlainTextSigningBindingElement : SigningBindingElementBase {
+ public class PlainTextSigningBindingElement : SigningBindingElementBase {
/// <summary>
/// Initializes a new instance of the <see cref="PlainTextSigningBindingElement"/> class.
/// </summary>
- internal PlainTextSigningBindingElement()
+ public PlainTextSigningBindingElement()
: base("PLAINTEXT") {
}
diff --git a/src/DotNetOAuth/ChannelElements/RsaSha1SigningBindingElement.cs b/src/DotNetOAuth/ChannelElements/RsaSha1SigningBindingElement.cs index edd5109..ac9c78c 100644 --- a/src/DotNetOAuth/ChannelElements/RsaSha1SigningBindingElement.cs +++ b/src/DotNetOAuth/ChannelElements/RsaSha1SigningBindingElement.cs @@ -12,7 +12,7 @@ namespace DotNetOAuth.ChannelElements { /// <summary>
/// A binding element that signs outgoing messages and verifies the signature on incoming messages.
/// </summary>
- internal class RsaSha1SigningBindingElement : SigningBindingElementBase {
+ public class RsaSha1SigningBindingElement : SigningBindingElementBase {
/// <summary>
/// Initializes a new instance of the <see cref="RsaSha1SigningBindingElement"/> class.
/// </summary>
diff --git a/src/DotNetOAuth/ChannelElements/SigningBindingElementBase.cs b/src/DotNetOAuth/ChannelElements/SigningBindingElementBase.cs index 14c4fd1..7886f1c 100644 --- a/src/DotNetOAuth/ChannelElements/SigningBindingElementBase.cs +++ b/src/DotNetOAuth/ChannelElements/SigningBindingElementBase.cs @@ -15,7 +15,7 @@ namespace DotNetOAuth.ChannelElements { /// <summary>
/// A binding element that signs outgoing messages and verifies the signature on incoming messages.
/// </summary>
- internal abstract class SigningBindingElementBase : ITamperProtectionChannelBindingElement {
+ public abstract class SigningBindingElementBase : ITamperProtectionChannelBindingElement {
/// <summary>
/// The signature method this binding element uses.
/// </summary>
diff --git a/src/DotNetOAuth/Consumer.cs b/src/DotNetOAuth/Consumer.cs index 175d3d2..cb7cbaa 100644 --- a/src/DotNetOAuth/Consumer.cs +++ b/src/DotNetOAuth/Consumer.cs @@ -22,7 +22,7 @@ namespace DotNetOAuth { /// </summary>
/// <param name="serviceDescription">The endpoints and behavior of the Service Provider.</param>
/// <param name="tokenManager">The host's method of storing and recalling tokens and secrets.</param>
- internal Consumer(ServiceProviderDescription serviceDescription, ITokenManager tokenManager) {
+ public Consumer(ServiceProviderDescription serviceDescription, ITokenManager tokenManager) {
if (serviceDescription == null) {
throw new ArgumentNullException("serviceDescription");
}
|