pingone

package
v2.29.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SuccessOrRedirectOrUnauthorizedResponseValidator added in v2.28.0

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