oauthcheck

package
v0.0.0-...-d125d34 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	ValidateToken(ctx context.Context, token string) error
	LoadAccessTokenUser(ctx context.Context, token string) (user.User, error)
	CheckScopePermission(ctx context.Context, token string, authInfo auth.RequestInfo) (bool, string, error)
}

func NewOauthChecker

func NewOauthChecker(param *param.Param) Controller

Jump to

Keyboard shortcuts

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