Represents base properties and method for OAuth 1.0 client.
Inheritance Hierarchy
Nemiro.OAuth OAuthBase
Nemiro.OAuth OAuthClient
Nemiro.OAuth.Clients SourceForgeClient
Nemiro.OAuth.Clients TumblrClient
Nemiro.OAuth.Clients TwitterClient
Namespace: Nemiro.OAuth
Assembly: Nemiro.OAuth (in Nemiro.OAuth.dll) Version: 1.9.4.725 (1.9.4.725)
Syntax
The OAuthClient type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| OAuthClient |
Initializes a new instance of the OAuthClient class.
|
Methods
| Name | Description | |
|---|---|---|
| Clone |
Creates a shallow copy of the current object.
(Inherited from OAuthBase.) | |
| Clone(NameValueCollection, String) |
Creates a shallow copy of the current object.
(Inherited from OAuthBase.) | |
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetAccessToken |
Gets the access token from the remote server.
(Overrides OAuthBase GetAccessToken .) | |
| GetHashCode | (Inherited from Object.) | |
| GetRequestToken |
Gets the request token from the remote server.
| |
| GetSignature | Obsolete.
Gets signature for the current request.
| |
| GetSpecifiedTokenOrCurrent |
Returns the specified access token or the current access token.
(Inherited from OAuthBase.) | |
| GetType | (Inherited from Object.) | |
| GetUserInfo | Obsolete.
Gets the user details via API of the provider.
(Inherited from OAuthBase.) | |
| GetUserInfo(AccessToken) |
Gets the user details via API of the provider.
(Inherited from OAuthBase.) | |
| MemberwiseClone | (Inherited from Object.) | |
| RedirectToAuthorization |
Redirects a client to the Authorization URL.
(Inherited from OAuthBase.) | |
| RefreshToken |
Sends a request to refresh the access token.
(Inherited from OAuthBase.) | |
| RevokeToken |
Sends a request to revoke the access token.
(Inherited from OAuthBase.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| AccessToken |
Gets or sets an access token.
(Inherited from OAuthBase.) | |
| AccessTokenUrl |
Gets or sets the address for the access token.
(Inherited from OAuthBase.) | |
| AccessTokenValue |
Gets an access token value.
(Inherited from OAuthBase.) | |
| ApplicationId |
Gets or sets the application identifier.
(Inherited from OAuthBase.) | |
| ApplicationSecret |
Gets or sets the application secret key.
(Inherited from OAuthBase.) | |
| Authorization |
Get the authorization parameters.
| |
| AuthorizationCode |
Gets or sets access code for access token requests.
(Inherited from OAuthBase.) | |
| AuthorizationUrl |
Gets the endpoint of the authorization.
(Overrides OAuthBase AuthorizationUrl.) | |
| AuthorizeUrl |
Gets or sets the base address for login.
(Inherited from OAuthBase.) | |
| Parameters |
Gets or sets additional query parameters.
(Inherited from OAuthBase.) | |
| ProviderName |
Unique provider name.
(Inherited from OAuthBase.) | |
| RequestToken |
Gets or sets the request token.
| |
| RequestTokenUrl |
Gets or sets the address for the request token.
| |
| ReturnUrl |
Gets or sets return URL.
(Inherited from OAuthBase.) | |
| State |
Gets or sets unique request identifier.
For clients the value sets is automatically.
(Inherited from OAuthBase.) | |
| SupportRefreshToken |
Gets or sets a value indicating whether the current client supports refreshing access token.
(Inherited from OAuthBase.) | |
| SupportRevokeToken |
Gets or sets a value indicating whether the current client supports revoking access token.
(Inherited from OAuthBase.) | |
| Version |
Gets the version of the OAuth protocol.
(Inherited from OAuthBase.) |
Remarks
For more details, please visit http://tools.ietf.org/html/rfc5849.
See Also