C# Класс Tailspin.Surveys.Web.Security.SignInManager

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
SignInManager ( IHttpContextAccessor contextAccessor, ISurveysTokenService surveysTokenService, ILogger logger ) : System

Initializes a new instance of Tailspin.Surveys.Web.Security.SignInManager;

SignOutAsync ( string redirectUrl = null ) : Task

Signs the currently signed in principal out of all authentication schemes and clears any access tokens from the token cache.

Описание методов

SignInManager() публичный Метод

Initializes a new instance of Tailspin.Surveys.Web.Security.SignInManager;
public SignInManager ( IHttpContextAccessor contextAccessor, ISurveysTokenService surveysTokenService, ILogger logger ) : System
contextAccessor IHttpContextAccessor An instance of used to get access to the current HTTP context.
surveysTokenService ISurveysTokenService An instance of
logger ILogger An implementation used for diagnostic information.
Результат System

SignOutAsync() публичный Метод

Signs the currently signed in principal out of all authentication schemes and clears any access tokens from the token cache.
public SignOutAsync ( string redirectUrl = null ) : Task
redirectUrl string A Url to which the user should be redirected when sign out of AAD completes.
Результат Task