Aracılığıyla paylaş


AccountClaimsPrincipalFactory<TAccount> Sınıf

Tanım

RemoteUserAccount öğesine ClaimsPrincipaldönüştürür.

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)

Tür Parametreleri

TAccount

Hesap türü.

Devralma
AccountClaimsPrincipalFactory<TAccount>

Oluşturucular

AccountClaimsPrincipalFactory<TAccount>(IAccessTokenProviderAccessor)

öğesinin yeni bir örneğini AccountClaimsPrincipalFactory<TAccount>başlatın.

Özellikler

TokenProvider

öğesini alır veya ayarlar IAccessTokenProvider.

Yöntemler

CreateUserAsync(TAccount, RemoteAuthenticationUserOptions)

öğesini account son ClaimsPrincipalhaline dönüştürür.

Şunlara uygulanır