Creates a child (or orphan) token: POST auth/token/create[/<role>].
Logs in with an auth method and (by default) uses the new token for this client.
Failed logins raise AuthenticationError.
Properties of the client token: GET auth/token/lookup-self.
Renews the client token: POST auth/token/renew-self. incrementMs requests a TTL; the
granted TTL is leaseDurationMs (capped by the maximum TTL). Non-renewable tokens raise
ValidationError.
OptionalincrementMs: numberRevokes the client token (POST auth/token/revoke-self) and forgets it, so later calls
send no token until the next login or setToken().
Starts a TokenRenewer for the current client token (reads its TTL with
lookupSelf()). Stopped by client.close().
Stops every renewer started through this API. Idempotent.
Token self-service, logins and renewal:
client.auth.