C# Class Auth0.Nancy.SelfHost.ModuleExtensions

Datei anzeigen Open project: auth0/Auth0.NancyFx.SelfHost

Public Methods

Method Description
AuthenticateThisSession ( this module ) : IResponseFormatter
RemoveAuthenticationFromThisSession ( this module ) : IResponseFormatter
RequiresAuthentication ( this module ) : void
SessionIsAuthenticated ( this module ) : bool
ThenRedirectTo ( this response, string viewName ) : Response

Method Details

AuthenticateThisSession() public static method

public static AuthenticateThisSession ( this module ) : IResponseFormatter
module this
return IResponseFormatter

RemoveAuthenticationFromThisSession() public static method

public static RemoveAuthenticationFromThisSession ( this module ) : IResponseFormatter
module this
return IResponseFormatter

RequiresAuthentication() public static method

public static RequiresAuthentication ( this module ) : void
module this
return void

SessionIsAuthenticated() public static method

public static SessionIsAuthenticated ( this module ) : bool
module this
return bool

ThenRedirectTo() public static method

public static ThenRedirectTo ( this response, string viewName ) : Response
response this
viewName string
return Nancy.Response