idp

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package idp contains the chromedp / headless tasks to navigate the IdP Shib+DUO pages and return the base-64 encoded SAMLAssertion.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSAMLResponse

func GetSAMLResponse(username, password, duoMethod string, debug bool, response *string) error

GetSAMLResponse takes a NetID and Password and gets the base-64 encoded SAMLResponse from the final signin-sts.aws.cucloud.net POST.

Types

type Chrome

type Chrome struct {
	Ctxt   context.Context
	C      *chromedp.CDP
	Cancel context.CancelFunc
}

Chrome holds the chromedp Chrome instance and root context for tasks.

Jump to

Keyboard shortcuts

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