browser

package
v2.36.7 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Headless bool
	// Setup alternative directory to download playwright browsers to
	BrowserDriverDir string
}

Client client for browser based Identity Provider

func New

func New(idpAccount *cfg.IDPAccount) (*Client, error)

New create new browser based client

func (*Client) Authenticate

func (cl *Client) Authenticate(loginDetails *creds.LoginDetails) (string, error)

func (*Client) Validate

func (cl *Client) Validate(loginDetails *creds.LoginDetails) error

Jump to

Keyboard shortcuts

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