Documentation
¶
Overview ¶
Package api provides the configuration and implementation for exchanging a delegated auth proof for an API key
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TokenAttributes ¶
type TokenAttributes struct {
APIKey string `json:"api_key"`
}
TokenAttributes represents the attributes field containing the API key
type TokenData ¶
type TokenData struct {
Attributes TokenAttributes `json:"attributes"`
}
TokenData represents the data field in the token response
type TokenResponse ¶
type TokenResponse struct {
Data TokenData `json:"data"`
}
TokenResponse represents the response from the intake-key endpoint
Click to show internal directories.
Click to hide internal directories.