authflow

package
v0.0.0-...-abe4fc6 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthFlow

type AuthFlow struct {
	URL string
	// contains filtered or unexported fields
}

func New

func New(issuer, clientID string, scopes, audience []string) (*AuthFlow, error)

func (*AuthFlow) Exchange

func (f *AuthFlow) Exchange(code string) (*session.Token, error)

func (*AuthFlow) OpenBrowser

func (f *AuthFlow) OpenBrowser() error

func (*AuthFlow) Verify

func (f *AuthFlow) Verify(tok *oauth2.Token) error

Jump to

Keyboard shortcuts

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