token

package
v0.0.0-...-ba7f0a5 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	ReadToken      uuid.UUID
	NoScopeToken   uuid.UUID
	ReadWriteToken uuid.UUID
	IssuerURL      string
	Key            jwk.Key
}

func NewHandler

func NewHandler(readToken uuid.UUID, readWriteToken, noScopeToken uuid.UUID, issuer string, key jwk.Key) *Handler

func (Handler) Handle

func (h Handler) Handle(c *gin.Context)

func (Handler) NewRSAJWT

func (h Handler) NewRSAJWT(scp string, aud string) ([]byte, error)

Jump to

Keyboard shortcuts

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