C# 클래스 Auth0.Nancy.SelfHost.ModuleExtensions

파일 보기 프로젝트 열기: auth0/Auth0.NancyFx.SelfHost

공개 메소드들

메소드 설명
AuthenticateThisSession ( this module ) : IResponseFormatter
RemoveAuthenticationFromThisSession ( this module ) : IResponseFormatter
RequiresAuthentication ( this module ) : void
SessionIsAuthenticated ( this module ) : bool
ThenRedirectTo ( this response, string viewName ) : Response

메소드 상세

AuthenticateThisSession() 공개 정적인 메소드

public static AuthenticateThisSession ( this module ) : IResponseFormatter
module this
리턴 IResponseFormatter

RemoveAuthenticationFromThisSession() 공개 정적인 메소드

public static RemoveAuthenticationFromThisSession ( this module ) : IResponseFormatter
module this
리턴 IResponseFormatter

RequiresAuthentication() 공개 정적인 메소드

public static RequiresAuthentication ( this module ) : void
module this
리턴 void

SessionIsAuthenticated() 공개 정적인 메소드

public static SessionIsAuthenticated ( this module ) : bool
module this
리턴 bool

ThenRedirectTo() 공개 정적인 메소드

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