ReadonlyclientThe client id.
ReadonlykindMethod name (token, universal-auth, kubernetes-auth, aws-auth).
Protected ReadonlyloginLogin path, e.g. /api/v1/auth/universal-auth/login.
ReadonlyrefreshableWhether a rejected token can be replaced by logging in again.
ReadonlytokenPrincipal kind of the tokens this method produces.
The current access token (null before the first login or after revoke).
ProtectedcontextThe bound client context (ConfigError before the method is passed to a client).
Releases the method; revokes a login token when revoke is true.
Forgets the current token (the next call logs in again).
Credential values to redact from errors.
Logs in and stores the new access token.
ProtectedloginBuilds the login body (without organizationSlug).
Renews the current token (POST /api/v1/auth/token/renew) and stores the returned one.
Revokes the current token (POST /api/v1/auth/token/revoke). No-op without a token.
The current token, logging in or renewing when needed.
Returns a string representation of an object.
Universal Auth (client id + client secret) —
POST /api/v1/auth/universal-auth/login.