Class LinkLoginExtensionGrantValidator
Inheritance
System.Object
LinkLoginExtensionGrantValidator
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
Fields
ExtensionGrantType
Declaration
public const string ExtensionGrantType = "LinkLogin"
Field Value
| Type |
Description |
| System.String |
|
Properties
CurrentPrincipalAccessor
Declaration
protected ICurrentPrincipalAccessor CurrentPrincipalAccessor { get; }
Property Value
CurrentTenant
Declaration
protected ICurrentTenant CurrentTenant { get; }
Property Value
| Type |
Description |
| ICurrentTenant |
|
CurrentUser
Declaration
protected ICurrentUser CurrentUser { get; }
Property Value
GrantType
Declaration
public string GrantType { get; }
Property Value
| Type |
Description |
| System.String |
|
IdentityLinkUserManager
Declaration
protected IdentityLinkUserManager IdentityLinkUserManager { get; }
Property Value
IdentitySecurityLogManager
Declaration
protected IdentitySecurityLogManager IdentitySecurityLogManager { get; }
Property Value
Localizer
Declaration
protected IStringLocalizer<AbpIdentityServerResource> Localizer { get; }
Property Value
Logger
Declaration
protected ILogger<LinkLoginExtensionGrantValidator> Logger { get; }
Property Value
TokenValidator
Declaration
protected ITokenValidator TokenValidator { get; }
Property Value
| Type |
Description |
| ITokenValidator |
|
UserManager
Declaration
protected IdentityUserManager UserManager { get; }
Property Value
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