auth

package
v0.0.0-...-32b26f9 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: GPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Google

func Google(g *gin.RouterGroup)

Types

type Config

type Config struct {
	*oauth2.Config
	*OpenID
}

func (*Config) Callback

func (p *Config) Callback(c *gin.Context)

func (*Config) Login

func (p *Config) Login(c *gin.Context)

type OpenID

type OpenID struct {
	URL    string
	Config gin.H
	JWKS   *keyfunc.JWKS
}

func New

func New(url string) *OpenID

Jump to

Keyboard shortcuts

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