AccountClaimsPrincipalFactory<TAccount> Klasa

Definicja

Konwertuje RemoteUserAccount na element ClaimsPrincipal.

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)

Parametry typu

TAccount

Typ konta.

Dziedziczenie
AccountClaimsPrincipalFactory<TAccount>

Konstruktory

AccountClaimsPrincipalFactory<TAccount>(IAccessTokenProviderAccessor)

Zainicjuj nowe wystąpienie klasy AccountClaimsPrincipalFactory<TAccount>.

Właściwości

TokenProvider

Pobiera lub ustawia wartość IAccessTokenProvider.

Metody

CreateUserAsync(TAccount, RemoteAuthenticationUserOptions)

Konwertuje element account na ostatni ClaimsPrincipalelement .

Dotyczy