oauth

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 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