provider

package
v2.0.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultTransport

func NewDefaultTransport(skipVerify bool) http.RoundTripper

NewDefaultTransport configure a transport with the TLS skip verify option

Types

type HTTPClient

type HTTPClient struct {
	http.Client
}

HTTPClient saml2aws http client which extends the existing client

func NewHTTPClient

func NewHTTPClient(tr http.RoundTripper) (*HTTPClient, error)

NewHTTPClient configure the default http client used by the providers

func (*HTTPClient) DisableFollowRedirect

func (client *HTTPClient) DisableFollowRedirect()

DisableFollowRedirect disable redirects

func (*HTTPClient) EnableFollowRedirect

func (client *HTTPClient) EnableFollowRedirect()

EnableFollowRedirect enable redirects

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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