C# 클래스 Punchcard.ServiceStackJWT.JsonWebTokenAuthProvider

상속: ServiceStack.Auth.AuthProvider, IAuthWithRequest
파일 보기 프로젝트 열기: Estyn/ServiceStackJWT

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Authenticate ( IServiceBase authService, IAuthSession session, Authenticate request ) : object
IsAuthorized ( IAuthSession session, IAuthTokens tokens, Authenticate request = null ) : bool
JsonWebTokenAuthProvider ( string discoveryEndpoint, string audience = null ) : System

Creates a new JsonWebToken Auth Provider

PreAuthenticate ( IRequest request, IResponse response ) : void

메소드 상세

Authenticate() 공개 메소드

public Authenticate ( IServiceBase authService, IAuthSession session, Authenticate request ) : object
authService IServiceBase
session IAuthSession
request Authenticate
리턴 object

IsAuthorized() 공개 메소드

public IsAuthorized ( IAuthSession session, IAuthTokens tokens, Authenticate request = null ) : bool
session IAuthSession
tokens IAuthTokens
request Authenticate
리턴 bool

JsonWebTokenAuthProvider() 공개 메소드

Creates a new JsonWebToken Auth Provider
public JsonWebTokenAuthProvider ( string discoveryEndpoint, string audience = null ) : System
discoveryEndpoint string aThe url to get the configuration informaion from.. (er "http://localhost:22530/" + ".well-known/openid-configuration")
audience string The client for openID (eg js_oidc)
리턴 System

PreAuthenticate() 공개 메소드

public PreAuthenticate ( IRequest request, IResponse response ) : void
request IRequest
response IResponse
리턴 void