Class AbpAccountAuthenticationRequestHandler<TOptions, THandler>
Inheritance
AbpAccountAuthenticationRequestHandler<TOptions, THandler>
Assembly: Volo.Abp.Account.Pro.Public.Web.dll
Syntax
public class AbpAccountAuthenticationRequestHandler<TOptions, THandler> : IAuthenticationRequestHandler, IAuthenticationSignInHandler, IAuthenticationSignOutHandler, IAuthenticationHandler where TOptions : RemoteAuthenticationOptions, new() where THandler : RemoteAuthenticationHandler<TOptions>
Type Parameters
Name |
Description |
TOptions |
|
THandler |
|
Constructors
AbpAccountAuthenticationRequestHandler(THandler, IOptions<TOptions>, ICurrentTenant, IHttpContextAccessor, ILogger<AbpAccountAuthenticationRequestHandler<TOptions, THandler>>)
Declaration
public AbpAccountAuthenticationRequestHandler(THandler innerHandler, IOptions<TOptions> optionsManager, ICurrentTenant currentTenant, IHttpContextAccessor httpContextAccessor, ILogger<AbpAccountAuthenticationRequestHandler<TOptions, THandler>> logger)
Parameters
Fields
CurrentTenant
Declaration
protected readonly ICurrentTenant CurrentTenant
Field Value
HttpContextAccessor
Declaration
protected readonly IHttpContextAccessor HttpContextAccessor
Field Value
InnerHandler
Declaration
protected readonly THandler InnerHandler
Field Value
Type |
Description |
THandler |
|
Logger
Declaration
protected readonly ILogger<AbpAccountAuthenticationRequestHandler<TOptions, THandler>> Logger
Field Value
OptionsManager
Declaration
protected readonly IOptions<TOptions> OptionsManager
Field Value
Declaration
protected readonly ConcurrentDictionary<Type, PropertyInfo> StateDataFormatPropertyInfoCache
Field Value
Methods
AuthenticateAsync()
Declaration
public virtual Task<AuthenticateResult> AuthenticateAsync()
Returns
ChallengeAsync(AuthenticationProperties)
Declaration
public virtual Task ChallengeAsync(AuthenticationProperties properties)
Parameters
Returns
ForbidAsync(AuthenticationProperties)
Declaration
public virtual Task ForbidAsync(AuthenticationProperties properties)
Parameters
Returns
GetHandler()
Declaration
public virtual THandler GetHandler()
Returns
Type |
Description |
THandler |
|
Declaration
protected virtual Task<ISecureDataFormat<AuthenticationProperties>> GetSecureDataFormatOrNullAsync()
Returns
GetTenantIdOrNullAsync()
Declaration
protected virtual Task<Guid?> GetTenantIdOrNullAsync()
Returns
HandleRequestAsync()
Declaration
public virtual Task<bool> HandleRequestAsync()
Returns
InitializeAsync(AuthenticationScheme, HttpContext)
Declaration
public virtual Task InitializeAsync(AuthenticationScheme scheme, HttpContext context)
Parameters
Returns
SetOptionsAsync()
Declaration
protected virtual Task SetOptionsAsync()
Returns
SignInAsync(ClaimsPrincipal, AuthenticationProperties)
Declaration
public Task SignInAsync(ClaimsPrincipal user, AuthenticationProperties properties)
Parameters
Returns
SignOutAsync(AuthenticationProperties)
Declaration
public Task SignOutAsync(AuthenticationProperties properties)
Parameters
Returns
TryAddTenantInfoAsync(AuthenticationProperties)
Declaration
protected virtual Task TryAddTenantInfoAsync(AuthenticationProperties properties)
Parameters
Returns
Implements
Extension Methods