Interface IIdentityModelAuthenticationService
Namespace: Volo.Abp.IdentityModel
Assembly: Volo.Abp.IdentityModel.dll
Syntax
public interface IIdentityModelAuthenticationService
Methods
GetAccessTokenAsync(IdentityClientConfiguration)
Declaration
Task<string> GetAccessTokenAsync(IdentityClientConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| IdentityClientConfiguration | configuration |
Returns
| Type | Description |
|---|---|
| Task<string> |
TryAuthenticateAsync(HttpClient, string?)
Declaration
Task<bool> TryAuthenticateAsync(HttpClient client, string? identityClientName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpClient | client | |
| string | identityClientName |
Returns
| Type | Description |
|---|---|
| Task<bool> |