tokenctx

package
v0.4.46 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenCtxResponse

type TokenCtxResponse struct {
	JwtContextData    *auth_jwt.TokenContextData
	ApiKeyContextData *auth_apikey.TokenContextData
}

func GetTokenCtx

func GetTokenCtx(ctx context.Context) (*TokenCtxResponse, error)

Attempts to get all token contexts that are available. If none, then returns unauth error

Jump to

Keyboard shortcuts

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