Delegate GetUserCredentialsResultAsync
Returns the new access token and its expiry for the password (user credentials) grant.
Namespace: ComponentSpace.OpenID
Assembly: ComponentSpace.OpenID.dll
Syntax
public delegate Task<UserCredentialsResult> GetUserCredentialsResultAsync(string clientID, string userName = null, string userPassword = null, string scope = null);
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | clientID | The client ID. |
| System.String | userName | The user name. |
| System.String | userPassword | The user password. |
| System.String | scope | The scope. |
Returns
| Type | Description |
|---|---|
| Task<UserCredentialsResult> | The token result. |