auth

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOAuthToken

func GetOAuthToken(conf *oauth2.Config, verifier TokenVerifyier, util Utils) (string, error)

Types

type IDToken

type IDToken interface {
	Claims(v interface{}) error
}

type TokenVerifyier

type TokenVerifyier interface {
	Verify(context.Context, string) (IDToken, error)
}

type Utils

type Utils struct {
	OpenURL func(url string) error
	NewUUID func() (string, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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