auth0

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extra

func Extra(names ...string) func(*config) error

Extra provides the names of additional parameters to use to store information in user profiles. Use `cli.GetProfileInfo("default")["name"]` to access it.

func InitAuthCode

func InitAuthCode(clientID string, issuer string, options ...func(*config) error)

InitAuthCode sets up the Auth0 authorization code flow. Must be called *after* you have called `cli.Init()`. Pass in profile-related extra variables to store them alongside the default profile information.

func InitClientCredentials

func InitClientCredentials(issuer string, options ...func(*config) error)

InitClientCredentials sets up the Auth0 client credentials flow. Must be called *after* you have called `cli.Init()`. Pass in profile-related extra variables to store them alongside the default profile information.

func Scopes

func Scopes(scopes ...string) func(*config) error

Scopes are used to request additional information or features for the returned token.

func Type

func Type(name string) func(*config) error

Type defines the type name of this auth mechanism.

Types

This section is empty.

Jump to

Keyboard shortcuts

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