Documentation
¶
Index ¶
Constants ¶
View Source
const DEFAULT_TIMEOUT float64 = 300000
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
BrowserType string
BrowserExecutablePath string
Headless bool
// Setup alternative directory to download playwright browsers to
BrowserDriverDir string
Timeout int
BrowserAutoFill bool
}
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)
Click to show internal directories.
Click to hide internal directories.