rest

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL