Documentation
¶
Index ¶
Constants ¶
View Source
const ( BearerToken tokenType = "Bearer" RefreshToken tokenType = "Refresh" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebApiContext ¶
type WebApiContext struct {
Address string
Schema string
DataProvider *managers.DataContext
Security *services.SecurityService
TokenGenerator *services.JwtGenerator
Logger *logging.AppLogger
}
func (*WebApiContext) GetUserInfo ¶
func (wCtx *WebApiContext) GetUserInfo(respWriter http.ResponseWriter, request *http.Request)
func (*WebApiContext) Introspect ¶ added in v0.1.3
func (wCtx *WebApiContext) Introspect(respWriter http.ResponseWriter, request *http.Request)
func (*WebApiContext) IssueNewToken ¶
func (wCtx *WebApiContext) IssueNewToken(respWriter http.ResponseWriter, request *http.Request)
Click to show internal directories.
Click to hide internal directories.