pingone

package
v2.30.1-0...-fef39ca Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SuccessOrRedirectOrUnauthorizedResponseValidator

func SuccessOrRedirectOrUnauthorizedResponseValidator(req *http.Request, resp *http.Response) error

SuccessOrRedirectOrUnauthorizedResponseValidator also allows 401

Types

type Client

type Client struct {
	provider.ValidateBase
	// contains filtered or unexported fields
}

Client wrapper around PingOne + PingId enabling authentication and retrieval of assertions

func New

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

New create a new PingOne client

func (*Client) Authenticate

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

Authenticate Authenticate to PingOne and return the data from the body of the SAML assertion.

Jump to

Keyboard shortcuts

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