Skip to content

OAuthTokenRequest Class ​

Definition ​

Provides a base model for OAuth 2.0 token requests.

  • Namespace: JASE.Network.OAuth
  • Assembly: JASE.Network.dll

Properties ​

NameDescription
ClientIdSpecifies the OAuth client identifier used to authenticate the calling application.
ClientSecretSpecifies the OAuth client secret used to authenticate the calling application.
GrantTypeSpecifies the OAuth 2.0 grant type used to acquire the token.
ScopeSpecifies 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.