Show / Hide Table of Contents

Class LinkLoginExtensionGrantValidator

Inheritance
System.Object
LinkLoginExtensionGrantValidator
Namespace: Volo.Abp.IdentityServer.AspNetIdentity
Assembly: Volo.Abp.IdentityServer.Domain.dll
Syntax
public class LinkLoginExtensionGrantValidator : IExtensionGrantValidator

Constructors

LinkLoginExtensionGrantValidator(ITokenValidator, IdentityLinkUserManager, ICurrentTenant, ICurrentUser, IdentityUserManager, ICurrentPrincipalAccessor, IdentitySecurityLogManager, ILogger<LinkLoginExtensionGrantValidator>, IStringLocalizer<AbpIdentityServerResource>)

Declaration
public LinkLoginExtensionGrantValidator(ITokenValidator tokenValidator, IdentityLinkUserManager identityLinkUserManager, ICurrentTenant currentTenant, ICurrentUser currentUser, IdentityUserManager userManager, ICurrentPrincipalAccessor currentPrincipalAccessor, IdentitySecurityLogManager identitySecurityLogManager, ILogger<LinkLoginExtensionGrantValidator> logger, IStringLocalizer<AbpIdentityServerResource> localizer)
Parameters
Type Name Description
ITokenValidator tokenValidator
IdentityLinkUserManager identityLinkUserManager
ICurrentTenant currentTenant
ICurrentUser currentUser
IdentityUserManager userManager
ICurrentPrincipalAccessor currentPrincipalAccessor
IdentitySecurityLogManager identitySecurityLogManager
ILogger<LinkLoginExtensionGrantValidator> logger
IStringLocalizer<AbpIdentityServerResource> localizer

Fields

ExtensionGrantType

Declaration
public const string ExtensionGrantType = "LinkLogin"
Field Value
Type Description
System.String

Properties

CurrentPrincipalAccessor

Declaration
protected ICurrentPrincipalAccessor CurrentPrincipalAccessor { get; }
Property Value
Type Description
ICurrentPrincipalAccessor

CurrentTenant

Declaration
protected ICurrentTenant CurrentTenant { get; }
Property Value
Type Description
ICurrentTenant

CurrentUser

Declaration
protected ICurrentUser CurrentUser { get; }
Property Value
Type Description
ICurrentUser

GrantType

Declaration
public string GrantType { get; }
Property Value
Type Description
System.String

IdentityLinkUserManager

Declaration
protected IdentityLinkUserManager IdentityLinkUserManager { get; }
Property Value
Type Description
IdentityLinkUserManager

IdentitySecurityLogManager

Declaration
protected IdentitySecurityLogManager IdentitySecurityLogManager { get; }
Property Value
Type Description
IdentitySecurityLogManager

Localizer

Declaration
protected IStringLocalizer<AbpIdentityServerResource> Localizer { get; }
Property Value
Type Description
IStringLocalizer<AbpIdentityServerResource>

Logger

Declaration
protected ILogger<LinkLoginExtensionGrantValidator> Logger { get; }
Property Value
Type Description
ILogger<LinkLoginExtensionGrantValidator>

TokenValidator

Declaration
protected ITokenValidator TokenValidator { get; }
Property Value
Type Description
ITokenValidator

UserManager

Declaration
protected IdentityUserManager UserManager { get; }
Property Value
Type Description
IdentityUserManager

Methods

AddCustomClaimsAsync(List<Claim>, IdentityUser, ExtensionGrantValidationContext)

Declaration
protected virtual Task AddCustomClaimsAsync(List<Claim> customClaims, IdentityUser user, ExtensionGrantValidationContext context)
Parameters
Type Name Description
System.Collections.Generic.List<System.Security.Claims.Claim> customClaims
IdentityUser user
ExtensionGrantValidationContext context
Returns
Type Description
System.Threading.Tasks.Task

ValidateAsync(ExtensionGrantValidationContext)

Declaration
public virtual Task ValidateAsync(ExtensionGrantValidationContext context)
Parameters
Type Name Description
ExtensionGrantValidationContext context
Returns
Type Description
System.Threading.Tasks.Task

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