Appearance
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
| Name | Description |
|---|---|
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
| Name | Description |
|---|---|
Password | Specifies the resource owner's password. |
Username | Specifies 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.