browser

package
v2.36.12 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 7 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