Show / Hide Table of Contents

Class AbpAccountAuthenticationRequestHandler<TOptions, THandler>

Inheritance
object
AbpAccountAuthenticationRequestHandler<TOptions, THandler>
Implements
IAuthenticationRequestHandler
IAuthenticationSignInHandler
IAuthenticationSignOutHandler
IAuthenticationHandler
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Account.Public.Web.ExternalProviders
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
Type Name Description
THandler innerHandler
IOptions<TOptions> optionsManager
ICurrentTenant currentTenant
IHttpContextAccessor httpContextAccessor
ILogger<AbpAccountAuthenticationRequestHandler<TOptions, THandler>> logger

Fields

CurrentTenant

Declaration
protected readonly ICurrentTenant CurrentTenant
Field Value
Type Description
ICurrentTenant

HttpContextAccessor

Declaration
protected readonly IHttpContextAccessor HttpContextAccessor
Field Value
Type Description
IHttpContextAccessor

InnerHandler

Declaration
protected readonly THandler InnerHandler
Field Value
Type Description
THandler

Logger

Declaration
protected readonly ILogger<AbpAccountAuthenticationRequestHandler<TOptions, THandler>> Logger
Field Value
Type Description
ILogger<AbpAccountAuthenticationRequestHandler<TOptions, THandler>>

OptionsManager

Declaration
protected readonly IOptions<TOptions> OptionsManager
Field Value
Type Description
IOptions<TOptions>

StateDataFormatPropertyInfoCache

Declaration
protected readonly ConcurrentDictionary<Type, PropertyInfo> StateDataFormatPropertyInfoCache
Field Value
Type Description
ConcurrentDictionary<Type, PropertyInfo>

Methods

AuthenticateAsync()

Declaration
public virtual Task<AuthenticateResult> AuthenticateAsync()
Returns
Type Description
Task<AuthenticateResult>

ChallengeAsync(AuthenticationProperties)

Declaration
public virtual Task ChallengeAsync(AuthenticationProperties properties)
Parameters
Type Name Description
AuthenticationProperties properties
Returns
Type Description
Task

ForbidAsync(AuthenticationProperties)

Declaration
public virtual Task ForbidAsync(AuthenticationProperties properties)
Parameters
Type Name Description
AuthenticationProperties properties
Returns
Type Description
Task

GetHandler()

Declaration
public virtual THandler GetHandler()
Returns
Type Description
THandler

GetSecureDataFormatOrNullAsync()

Declaration
protected virtual Task<ISecureDataFormat<AuthenticationProperties>> GetSecureDataFormatOrNullAsync()
Returns
Type Description
Task<ISecureDataFormat<AuthenticationProperties>>

GetTenantIdOrNullAsync()

Declaration
protected virtual Task<Guid?> GetTenantIdOrNullAsync()
Returns
Type Description
Task<Guid?>

HandleRequestAsync()

Declaration
public virtual Task<bool> HandleRequestAsync()
Returns
Type Description
Task<bool>

InitializeAsync(AuthenticationScheme, HttpContext)

Declaration
public virtual Task InitializeAsync(AuthenticationScheme scheme, HttpContext context)
Parameters
Type Name Description
AuthenticationScheme scheme
HttpContext context
Returns
Type Description
Task

SetOptionsAsync()

Declaration
protected virtual Task SetOptionsAsync()
Returns
Type Description
Task

SignInAsync(ClaimsPrincipal, AuthenticationProperties)

Declaration
public Task SignInAsync(ClaimsPrincipal user, AuthenticationProperties properties)
Parameters
Type Name Description
ClaimsPrincipal user
AuthenticationProperties properties
Returns
Type Description
Task

SignOutAsync(AuthenticationProperties)

Declaration
public Task SignOutAsync(AuthenticationProperties properties)
Parameters
Type Name Description
AuthenticationProperties properties
Returns
Type Description
Task

TryAddTenantInfoAsync(AuthenticationProperties)

Declaration
protected virtual Task TryAddTenantInfoAsync(AuthenticationProperties properties)
Parameters
Type Name Description
AuthenticationProperties properties
Returns
Type Description
Task

Implements

IAuthenticationRequestHandler
IAuthenticationSignInHandler
IAuthenticationSignOutHandler
IAuthenticationHandler

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform