token

package
v2.19.7 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	MintToken(ctx context.Context, u *user.User, scope map[string]*auth.Scope) (string, error)
	DismantleToken(ctx context.Context, token string) (*user.User, map[string]*auth.Scope, error)
}

Manager is the interface to implement to sign and verify tokens

Directories

Path Synopsis
manager
jwt

Jump to

Keyboard shortcuts

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