provider

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultScopes = []string{"openid", "profile", "offline_access"}
View Source
var ErrNotFound = errors.New("provider not found")
View Source
var Providers = map[string]NewProviderFunc{
	"auth0": NewAuth0,
	"okta":  NewOkta,
}

Functions

func NewAuth0

func NewAuth0(org, clientID string) oauth2.Config

func NewOkta

func NewOkta(org, clientID string) oauth2.Config

Types

type NewProviderFunc

type NewProviderFunc func(string, string) oauth2.Config

Jump to

Keyboard shortcuts

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