Skip to content

PasswordTokenRequest Class ​

Definition ​

Represents an OAuth 2.0 token request using the Resource Owner Password Credentials grant ("password" grant).

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

Constructors ​

NameDescription
PasswordTokenRequest()Initializes a new instance of the PasswordTokenRequest class.
PasswordTokenRequest(string clientId, string clientSecret, string username, string password)Initializes a new instance of the PasswordTokenRequest class.

Properties ​

NameDescription
PasswordSpecifies the resource owner's password.
UsernameSpecifies the resource owner's username.

Remarks ​

This grant type is considered legacy and is discouraged for new integrations. Use only when the authorization server explicitly requires it and you control the client runtime.