Documentation ¶
Index ¶
Constants ¶
View Source
const ( VC_SVCACCOUNT_USER_PATH = "/etc/nsx-ujo/vc/username" VC_SVCACCOUNT_PWD_PATH = "/etc/nsx-ujo/vc/password" )
Variables ¶
This section is empty.
Functions ¶
func NewTokenProvider ¶
Types ¶
type JWTCache ¶
type JWTCache struct {
// contains filtered or unexported fields
}
JWTCache ...
func NewJWTCache ¶
NewJWTCache ...
type JWTTokenProvider ¶
type JWTTokenProvider struct {
// contains filtered or unexported fields
}
func (*JWTTokenProvider) GetToken ¶
func (provider *JWTTokenProvider) GetToken(refreshToken bool) (string, error)
func (*JWTTokenProvider) HeaderValue ¶
func (provider *JWTTokenProvider) HeaderValue(token string) string
type TESClient ¶
type TESClient struct {
*VCClient
}
TESClient requests Token Exchange Service (TES) to issue JWT in exchange for SAML token.
type VCClient ¶
type VCClient struct {
// contains filtered or unexported fields
}
VCClient tracks a client session token.
Click to show internal directories.
Click to hide internal directories.