Show / Hide Table of Contents

Class CopySessionIdClaimFilter<TUser>

Claim filter that ensures that SessionId from an external sign-in is copied to the user.

Inheritance
Object
BaseClaimFilter<TUser>
CopySessionIdClaimFilter<TUser>
Inherited Members
BaseClaimFilter<TUser>.Order
BaseClaimFilter<TUser>.RemoveClaim(ClaimFilterContext<TUser>, String, Boolean)
BaseClaimFilter<TUser>.AddClaim(ClaimFilterContext<TUser>, Claim, Boolean)
Object.Equals(Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public class CopySessionIdClaimFilter<TUser> : BaseClaimFilter<TUser>, IClaimFilter<TUser> where TUser : class, IUser
Type Parameters
TUser

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)
Back to top Generated by DocFX