OAuthBase ClassNemiro.OAuth
Represents base class for OAuth client classes.
Inheritance Hierarchy

System Object
  Nemiro.OAuth OAuthBase
    Nemiro.OAuth OAuth2Client
    Nemiro.OAuth OAuthClient

Namespace: Nemiro.OAuth
Assembly: Nemiro.OAuth (in Nemiro.OAuth.dll) Version: 1.9.4.725 (1.9.4.725)
Syntax

public abstract class OAuthBase : ICloneable

The OAuthBase type exposes the following members.

Constructors

  NameDescription
Public methodOAuthBase
Initializes a new instance of the OAuthBase class.
Top
Methods

  NameDescription
Public methodClone 
Creates a shallow copy of the current object.
Public methodClone(NameValueCollection, String)
Creates a shallow copy of the current object.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Protected methodGetAccessToken
Gets the access token from the remote server.
Public methodGetHashCode (Inherited from Object.)
Protected methodGetSpecifiedTokenOrCurrent
Returns the specified access token or the current access token.
Public methodGetType (Inherited from Object.)
Public methodGetUserInfo Obsolete.
Gets the user details via API of the provider.
Public methodGetUserInfo(AccessToken)
Gets the user details via API of the provider.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRedirectToAuthorization
Redirects a client to the Authorization URL.
Public methodRefreshToken
Sends a request to refresh the access token.
Public methodRevokeToken
Sends a request to revoke the access token.
Public methodToString (Inherited from Object.)
Top
Properties

  NameDescription
Public propertyAccessToken
Gets or sets an access token.
Protected propertyAccessTokenUrl
Gets or sets the address for the access token.
Public propertyAccessTokenValue
Gets an access token value.
Public propertyApplicationId
Gets or sets the application identifier.
Public propertyApplicationSecret
Gets or sets the application secret key.
Public propertyAuthorizationCode
Gets or sets access code for access token requests.
Public propertyAuthorizationUrl
Gets the endpoint of the authorization.
Protected propertyAuthorizeUrl
Gets or sets the base address for login.
Public propertyParameters
Gets or sets additional query parameters.
Public propertyProviderName
Unique provider name.
Public propertyReturnUrl
Gets or sets return URL.
Public propertyState
Gets or sets unique request identifier. For clients the value sets is automatically.
Public propertySupportRefreshToken
Gets or sets a value indicating whether the current client supports refreshing access token.
Public propertySupportRevokeToken
Gets or sets a value indicating whether the current client supports revoking access token.
Public propertyVersion
Gets the version of the OAuth protocol.
Top
See Also