AccountClaimsPrincipalFactory<TAccount> Класс

Определение

Преобразует RemoteUserAccount в 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)

Параметры типа

TAccount

Тип учетной записи.

Наследование
AccountClaimsPrincipalFactory<TAccount>

Конструкторы

AccountClaimsPrincipalFactory<TAccount>(IAccessTokenProviderAccessor)

Инициализируйте AccountClaimsPrincipalFactory<TAccount>новый экземпляр .

Свойства

TokenProvider

Возвращает или задает класс IAccessTokenProvider.

Методы

CreateUserAsync(TAccount, RemoteAuthenticationUserOptions)

Преобразует в окончательный accountClaimsPrincipal.

Применяется к