Class MauiBlazorIdentityModelRemoteServiceHttpClientAuthenticator
Inheritance
object
MauiBlazorIdentityModelRemoteServiceHttpClientAuthenticator
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.MauiBlazor
Assembly: Volo.Abp.Http.Client.IdentityModel.MauiBlazor.dll
Syntax
[Dependency(ReplaceServices = true)]
public class MauiBlazorIdentityModelRemoteServiceHttpClientAuthenticator : IdentityModelRemoteServiceHttpClientAuthenticator, IRemoteServiceHttpClientAuthenticator, ITransientDependency
Constructors
MauiBlazorIdentityModelRemoteServiceHttpClientAuthenticator(IIdentityModelAuthenticationService, IServiceProvider)
Declaration
public MauiBlazorIdentityModelRemoteServiceHttpClientAuthenticator(IIdentityModelAuthenticationService identityModelAuthenticationService, IServiceProvider serviceProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| IIdentityModelAuthenticationService | identityModelAuthenticationService | |
| System.IServiceProvider | serviceProvider |
Properties
AbpMauiAccessTokenProvider
Declaration
protected IAbpMauiAccessTokenProvider AbpMauiAccessTokenProvider { get; }
Property Value
| Type | Description |
|---|---|
| IAbpMauiAccessTokenProvider |
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> |