Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MinimumRemainingValidity time.Duration = time.Second * 10
Functions ¶
This section is empty.
Types ¶
type AuthHeaderBuilder ¶ added in v0.19.0
type BasicAuthHeaderBuilder ¶
type BasicAuthHeaderBuilder struct {
// contains filtered or unexported fields
}
func NewBasicAuthHeaderBuilder ¶
func NewBasicAuthHeaderBuilder(username, password string) BasicAuthHeaderBuilder
func (BasicAuthHeaderBuilder) AddAuthHeader ¶ added in v0.17.2
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 ¶ added in v0.17.2
type NoAuthHeaderBuilder ¶ added in v0.17.2
type NoAuthHeaderBuilder struct{}
func NewNoAuthHeaderBuilder ¶ added in v0.17.2
func NewNoAuthHeaderBuilder() NoAuthHeaderBuilder
func (NoAuthHeaderBuilder) AddAuthHeader ¶ added in v0.17.2
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 ¶ added in v0.17.2
Source Files ¶
Click to show internal directories.
Click to hide internal directories.