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 |
|---|---|---|
| string | clientID | The client ID. |
| string | userName | The user name. |
| string | userPassword | The user password. |
| string | scope | The scope. |
Returns
| Type | Description |
|---|---|
| Task<UserCredentialsResult> | The token result. |