IClaimsTransformation Rozhraní

Definice

Používá se IAuthenticationService k 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: Spustí se 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