Class AccessTokenProviderIdentityModelRemoteServiceHttpClientAuthenticator
Inheritance
System.Object
AccessTokenProviderIdentityModelRemoteServiceHttpClientAuthenticator
Implements
ITransientDependency
Assembly: Volo.Abp.Http.Client.IdentityModel.WebAssembly.dll
Syntax
public class AccessTokenProviderIdentityModelRemoteServiceHttpClientAuthenticator : IdentityModelRemoteServiceHttpClientAuthenticator, IRemoteServiceHttpClientAuthenticator, ITransientDependency
Constructors
AccessTokenProviderIdentityModelRemoteServiceHttpClientAuthenticator(IIdentityModelAuthenticationService, IAccessTokenProvider)
Declaration
public AccessTokenProviderIdentityModelRemoteServiceHttpClientAuthenticator(IIdentityModelAuthenticationService identityModelAuthenticationService, IAccessTokenProvider accessTokenProvider)
Parameters
| Type |
Name |
Description |
| IIdentityModelAuthenticationService |
identityModelAuthenticationService |
|
| IAccessTokenProvider |
accessTokenProvider |
|
Properties
AccessTokenProvider
Declaration
protected IAccessTokenProvider AccessTokenProvider { get; }
Property Value
| Type |
Description |
| IAccessTokenProvider |
|
Methods
Authenticate(RemoteServiceHttpClientAuthenticateContext)
Declaration
public override Task Authenticate(RemoteServiceHttpClientAuthenticateContext context)
Parameters
| Type |
Name |
Description |
| RemoteServiceHttpClientAuthenticateContext |
context |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
GetAccessTokenFromAccessTokenProviderOrNullAsync()
Declaration
protected virtual Task<string> GetAccessTokenFromAccessTokenProviderOrNullAsync()
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.String> |
|
Implements
ITransientDependency
Extension Methods