Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TexResponse ¶
type TexResponse struct {
AccessToken string `json:"access_token,omitempty"`
IssuedTokenType string `json:"issued_token_type,omitempty"`
TokenType string `json:"token_type,omitempty"`
ExpiresIn uint32 `json:"expires_in,omitempty"`
}
TexResponse represents the response for the token exchange request.
type TokenConfig ¶
type TokenConfig struct {
Issuer string
ClientID string
KeyID string
User string
PrivateKey string
}
func (*TokenConfig) BuildToken ¶
func (tc *TokenConfig) BuildToken() (string, error)
type TokenExchanger ¶
Click to show internal directories.
Click to hide internal directories.