Show / Hide Table of Contents

Class AccessTokenProviderIdentityModelRemoteServiceHttpClientAuthenticator

Inheritance
System.Object
IdentityModelRemoteServiceHttpClientAuthenticator
AccessTokenProviderIdentityModelRemoteServiceHttpClientAuthenticator
Implements
IRemoteServiceHttpClientAuthenticator
ITransientDependency
Inherited Members
IdentityModelRemoteServiceHttpClientAuthenticator.IdentityModelAuthenticationService
IdentityModelRemoteServiceHttpClientAuthenticator.Authenticate(RemoteServiceHttpClientAuthenticateContext)
Namespace: Volo.Abp.Http.Client.IdentityModel.WebAssembly
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

IRemoteServiceHttpClientAuthenticator
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft