C# Class Tailspin.Surveys.Web.Security.SignInManager

Afficher le fichier Open project: Azure-Samples/guidance-identity-management-for-multitenant-apps Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

SignInManager() public méthode

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.
Résultat System

SignOutAsync() public méthode

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.
Résultat Task