pkce

package
v0.47.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticator

type Authenticator struct {
	OriginURL string
	// contains filtered or unexported fields
}

func NewAuthenticator

func NewAuthenticator(baseAuthURL, redirectURL, clientID, origin string) (*Authenticator, error)

func (*Authenticator) ExchangeCodeForToken

func (a *Authenticator) ExchangeCodeForToken(code string) (string, error)

func (*Authenticator) GetAuthURL

func (a *Authenticator) GetAuthURL(state string) string

Jump to

Keyboard shortcuts

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