oauth

package
v0.30.11 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: AGPL-3.0, AGPL-3.0-only Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	ID          string
	Secret      string
	RedirectURI string
	GrantTypes  string
	Scope       string
	AppName     string
	UserID      model.UserID
	AppID       uint32
}

type Manager

type Manager interface {
	GetClientByID(ctx context.Context, clientIDs ...string) (map[string]Client, error)
}

func NewMysqlRepo

func NewMysqlRepo(q *query.Query, log *zap.Logger) (Manager, error)

Jump to

Keyboard shortcuts

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