IClaimsTransformation Rozhraní

Definice

Používá se IAuthenticationService pro transformaci deklarací identity.

public interface class IClaimsTransformation
public interface IClaimsTransformation
type IClaimsTransformation = interface
Public Interface IClaimsTransformation
Odvozené

Metody

TransformAsync(ClaimsPrincipal)

Poskytuje centrální transformační bod pro změnu zadaného objektu zabezpečení. Poznámka: Tato operace se spustí při každém volání AuthenticateAsync, takže je bezpečnější vrátit novou hodnotu ClaimsPrincipal, pokud vaše transformace není idempotentní.

Platí pro