Bagikan melalui


AccountClaimsPrincipalFactory<TAccount> Kelas

Definisi

RemoteUserAccount Mengonversi menjadi 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)

Jenis parameter

TAccount

Jenis akun.

Warisan
AccountClaimsPrincipalFactory<TAccount>

Konstruktor

AccountClaimsPrincipalFactory<TAccount>(IAccessTokenProviderAccessor)

Menginisialisasi instans AccountClaimsPrincipalFactory<TAccount>baru .

Properti

TokenProvider

Mendapatkan atau mengatur IAccessTokenProvider.

Metode

CreateUserAsync(TAccount, RemoteAuthenticationUserOptions)

account Mengonversi ke final ClaimsPrincipal.

Berlaku untuk