Documentation
¶
Overview ¶
Package auth obtains an Argus JWT for calls to remote services, caching it between runs so a developer signs in roughly once a month.
Index ¶
Constants ¶
View Source
const (
// DefaultAuthURL is the Argus auth service. Override with WORLD_AUTH_URL.
DefaultAuthURL = "https://api.argus.dev"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Claims ¶
Claims is the subset of the Argus JWT this CLI reads.
func ParseClaims ¶
ParseClaims reads the payload without verifying the signature: the operator verifies it, and the CLI only needs the expiry to decide whether to re-use it.
Click to show internal directories.
Click to hide internal directories.