Documentation
¶
Overview ¶
Package revoke_api_key_endpoint takes one of the account's keys out of use.
Revocation is where API access ends, so it does two things at once: the key stops minting, and the sign-ins it minted are ended. What was already minted keeps working until it expires -- consumers validate a token by its signature and its expiry, so a token's lifetime is the revocation window, and that lifetime is minutes.
Index ¶
Constants ¶
View Source
const DefaultPath = "/api/account/me/api-keys/revoke"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct {
*initialization_endpoint.Endpoint
}
func (*Endpoint) Initialize ¶
Click to show internal directories.
Click to hide internal directories.