Appearance
OAuthTokenRequest Class
Definition
Provides a base model for OAuth 2.0 token requests.
- Namespace:
JASE.Network.OAuth - Assembly:
JASE.Network.dll
Properties
| Name | Description |
|---|---|
ClientId | Specifies the OAuth client identifier used to authenticate the calling application. |
ClientSecret | Specifies the OAuth client secret used to authenticate the calling application. |
GrantType | Specifies the OAuth 2.0 grant type used to acquire the token. |
Scope | Specifies the requested scope(s) for the access token. |
Remarks
Derived classes represent specific OAuth grant types such as: Authorization CodeClient CredentialsRefresh TokenDevice Code
Implementations should set GrantType in their constructor to indicate the OAuth flow being used.
See RFC 6749.