oauth

package
v0.0.0-...-dead0e8 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: Unlicense Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OAuth

type OAuth struct {
	Provider fosite.OAuth2Provider
	// contains filtered or unexported fields
}

func New

func New(cfg *config.Config) *OAuth

func (*OAuth) DeleteClient

func (o *OAuth) DeleteClient(id string)

func (*OAuth) NewSession

func (o *OAuth) NewSession(username string) *openid.DefaultSession

func (*OAuth) UpsertClient

func (o *OAuth) UpsertClient(client fosite.Client)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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