Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Address string
Certificate tls.Certificate
TrustPool *x509.CertPool
RootMap fingerprint.RootMap
DiscoveryEndpoint string
}
type GetTokenResponse ¶
type GetTokenResponse struct {
AccessToken string `json:"access_token"`
IssuedTokenType string `json:"issued_token_type"`
ExpiresIn int `json:"expires_in"`
SPIFFEID string `json:"spiffe_id"`
}
GetTokenResponse is the response returned by a call to `POST /token` on the tokenserver. A successful response contains a JWT in AccessToken
Click to show internal directories.
Click to hide internal directories.