Class ConfirmEmailClaimFilter<TUser>
Claim filter that sets an email as verified if it is an external sign-in.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public class ConfirmEmailClaimFilter<TUser> : BaseClaimFilter<TUser>, IClaimFilter<TUser> where TUser : class, IUser
Type Parameters
TUser
|
Constructors
ConfirmEmailClaimFilter()
Creates a new instance of ConfirmEmailClaimFilter<TUser>.
Declaration
public ConfirmEmailClaimFilter()
Methods
ExecuteAsync(ClaimFilterContext<TUser>, CancellationToken)
Executes the filter to allow for manipulation of the claims for the current sign-in.
Declaration
public override Task ExecuteAsync(ClaimFilterContext<TUser> context, CancellationToken cancellationToken = default(CancellationToken))
Parameters
ClaimFilterContext<TUser>
context
The ClaimFilterContext<TUser> with information about the on-going sign-in. |
System.Threading.CancellationToken
cancellationToken
The System.Threading.CancellationToken used to propagate notifications that the operation should be canceled. |
Returns
System.Threading.Tasks.Task
The System.Threading.Tasks.Task that represents the asynchronous operation. |
Overrides
IRM.AspNetCore.Identity.BaseClaimFilter<TUser>.ExecuteAsync(IRM.AspNetCore.Identity.ClaimFilterContext<TUser>, System.Threading.CancellationToken)