Skip to main content

Module identity

Module identity 

Source
Expand description

OAuth2 client-credentials grant against {identity_url}/connect/token, requesting scope=api.pam.rotation.

Structsยง

AuthSuccess ๐Ÿ”’
A successful authentication response from the identity server. Debug is hand-written to redact access_token.
IdentityClient ๐Ÿ”’
HTTP client for the POST /connect/token identity endpoint.

Enumsยง

AuthError ๐Ÿ”’
Errors returned by IdentityClient::authenticate.

Constantsยง

REQUEST_TIMEOUT ๐Ÿ”’
SCOPE ๐Ÿ”’

Functionsยง

organization_claim ๐Ÿ”’
Reads the organization claim, which the server emits unprefixed. Its absence is a server contract violation: without an organisation there is no org slot to key.