C# Класс Punchcard.ServiceStackJWT.JsonWebTokenAuthProvider

Наследование: ServiceStack.Auth.AuthProvider, IAuthWithRequest
Показать файл Открыть проект

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