Class AccessTokenProviderIdentityModelRemoteServiceHttpClientAuthenticator
Inheritance
object
AccessTokenProviderIdentityModelRemoteServiceHttpClientAuthenticator
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Http.Client.IdentityModel.WebAssembly
Assembly: Volo.Abp.Http.Client.IdentityModel.WebAssembly.dll
Syntax
[Dependency(ReplaceServices = true)]
public class AccessTokenProviderIdentityModelRemoteServiceHttpClientAuthenticator : IdentityModelRemoteServiceHttpClientAuthenticator, IRemoteServiceHttpClientAuthenticator, ITransientDependency
Constructors
AccessTokenProviderIdentityModelRemoteServiceHttpClientAuthenticator(IIdentityModelAuthenticationService, IServiceProvider)
Declaration
public AccessTokenProviderIdentityModelRemoteServiceHttpClientAuthenticator(IIdentityModelAuthenticationService identityModelAuthenticationService, IServiceProvider serviceProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| IIdentityModelAuthenticationService | identityModelAuthenticationService | |
| System.IServiceProvider | serviceProvider |
Properties
AccessTokenProvider
Declaration
protected IAccessTokenProvider AccessTokenProvider { get; }
Property Value
| Type | Description |
|---|---|
| Microsoft.AspNetCore.Components.WebAssembly.Authentication.IAccessTokenProvider |
Methods
Authenticate(RemoteServiceHttpClientAuthenticateContext)
Declaration
public override Task Authenticate(RemoteServiceHttpClientAuthenticateContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| RemoteServiceHttpClientAuthenticateContext | context |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Overrides
GetAccessTokenFromAccessTokenProviderOrNullAsync()
Declaration
protected virtual Task<string> GetAccessTokenFromAccessTokenProviderOrNullAsync()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<TResult><string> |