Represents base class for OAuth client classes.
Inheritance Hierarchy
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
The OAuthBase type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| OAuthBase |
Initializes a new instance of the OAuthBase class.
|
Methods
| Name | Description | |
|---|---|---|
| Clone |
Creates a shallow copy of the current object.
| |
| Clone(NameValueCollection, String) |
Creates a shallow copy of the current object.
| |
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetAccessToken |
Gets the access token from the remote server.
| |
| GetHashCode | (Inherited from Object.) | |
| GetSpecifiedTokenOrCurrent |
Returns the specified access token or the current access token.
| |
| GetType | (Inherited from Object.) | |
| GetUserInfo | Obsolete.
Gets the user details via API of the provider.
| |
| GetUserInfo(AccessToken) |
Gets the user details via API of the provider.
| |
| MemberwiseClone | (Inherited from Object.) | |
| RedirectToAuthorization |
Redirects a client to the Authorization URL.
| |
| RefreshToken |
Sends a request to refresh the access token.
| |
| RevokeToken |
Sends a request to revoke the access token.
| |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| AccessToken |
Gets or sets an access token.
| |
| AccessTokenUrl |
Gets or sets the address for the access token.
| |
| AccessTokenValue |
Gets an access token value.
| |
| ApplicationId |
Gets or sets the application identifier.
| |
| ApplicationSecret |
Gets or sets the application secret key.
| |
| AuthorizationCode |
Gets or sets access code for access token requests.
| |
| AuthorizationUrl |
Gets the endpoint of the authorization.
| |
| AuthorizeUrl |
Gets or sets the base address for login.
| |
| Parameters |
Gets or sets additional query parameters.
| |
| ProviderName |
Unique provider name.
| |
| ReturnUrl |
Gets or sets return URL.
| |
| State |
Gets or sets unique request identifier.
For clients the value sets is automatically.
| |
| SupportRefreshToken |
Gets or sets a value indicating whether the current client supports refreshing access token.
| |
| SupportRevokeToken |
Gets or sets a value indicating whether the current client supports revoking access token.
| |
| Version |
Gets the version of the OAuth protocol.
|
See Also