Dela via


IClaimsTransformation Interface

Definition

Used by the IAuthenticationService for claims transformation.

public interface class IClaimsTransformation
public interface IClaimsTransformation
type IClaimsTransformation = interface
Public Interface IClaimsTransformation
Derived

Methods

TransformAsync(ClaimsPrincipal)

Provides a central transformation point to change the specified principal. Note: this will be run on each AuthenticateAsync call, so its safer to return a new ClaimsPrincipal if your transformation is not idempotent.

Applies to