auth

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCodeNotFound = errors.New("code not found")

Functions

func GetToken

func GetToken(domain, email, password string) (string, error)

Types

type DexClient

type DexClient struct {
	Client *http.Client
	// contains filtered or unexported fields
}

func NewDexClient

func NewDexClient(dexURL string) (*DexClient, error)

newClient creates an HttpClient with Session Storage and that will store the last redirect in the lastURL var

func (*DexClient) Login

func (c *DexClient) Login(loginURL, username, password string) (string, error)

Jump to

Keyboard shortcuts

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