Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MinimumRemainingValidity = time.Second * 10
Functions ¶
This section is empty.
Types ¶
type AuthHeaderBuilder ¶
type BasicAuthHeaderBuilder ¶
type BasicAuthHeaderBuilder struct {
// contains filtered or unexported fields
}
func NewBasicAuthHeaderBuilder ¶
func NewBasicAuthHeaderBuilder(username, password string) BasicAuthHeaderBuilder
func (BasicAuthHeaderBuilder) AddAuthHeader ¶
type ClientTokenAuthHeaderBuilder ¶
type ClientTokenAuthHeaderBuilder struct {
// contains filtered or unexported fields
}
func NewClientTokenAuthHeaderBuilder ¶
func NewClientTokenAuthHeaderBuilder( uaaURL, clientID, clientSecret string, disableSSLCertVerification bool, trustedCertPEM []byte, ) (*ClientTokenAuthHeaderBuilder, error)
func (*ClientTokenAuthHeaderBuilder) AddAuthHeader ¶
type NoAuthHeaderBuilder ¶
type NoAuthHeaderBuilder struct{}
func NewNoAuthHeaderBuilder ¶
func NewNoAuthHeaderBuilder() NoAuthHeaderBuilder
func (NoAuthHeaderBuilder) AddAuthHeader ¶
type ObtainTokenResponse ¶
type UserTokenAuthHeaderBuilder ¶
type UserTokenAuthHeaderBuilder struct {
// contains filtered or unexported fields
}
func NewUserTokenAuthHeaderBuilder ¶
func NewUserTokenAuthHeaderBuilder( uaaURL, clientID, clientSecret, username, password string, disableSSLCertVerification bool, trustedCertPEM []byte, ) (*UserTokenAuthHeaderBuilder, error)
func (*UserTokenAuthHeaderBuilder) AddAuthHeader ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.