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

Show file Open project: Azure-Samples/guidance-identity-management-for-multitenant-apps Class Usage Examples

Public Methods

Method 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 method

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.
return System

SignOutAsync() public method

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.
return Task