AccountClaimsPrincipalFactory<TAccount> Klasse
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Konvertiert ein RemoteUserAccount-Element in ein ClaimsPrincipal-Element.
generic <typename TAccount>
where TAccount : RemoteUserAccountpublic ref class AccountClaimsPrincipalFactory
public class AccountClaimsPrincipalFactory<TAccount> where TAccount : RemoteUserAccount
type AccountClaimsPrincipalFactory<'Account (requires 'Account :> RemoteUserAccount)> = class
Public Class AccountClaimsPrincipalFactory(Of TAccount)
Typparameter
- TAccount
Der Kontotyp.
- Vererbung
-
AccountClaimsPrincipalFactory<TAccount>
Konstruktoren
| AccountClaimsPrincipalFactory<TAccount>(IAccessTokenProviderAccessor) |
Initialisieren Sie eine neue instance von AccountClaimsPrincipalFactory<TAccount>. |
Eigenschaften
| TokenProvider |
Ruft den IAccessTokenProvider ab oder legt diesen fest. |
Methoden
| CreateUserAsync(TAccount, RemoteAuthenticationUserOptions) |
Wandelt den |