Package-level declarations
Types
Types of opaque session ids for client-server communication.
Authentication information to access System of Record.
Functions
DPoP Authorization validation.
Decodes opaque session id ("code") into server-side id, validating code purpose (type) and expiration time.
Creates issuance session based on the given HTTP request and returns a unique id for it.
Extract access token for a DPoP-protected requests.
Creates an opaque session id ("code") that can be safely given to the client. On the server the session is just identified by its id, which stays the same. When referencing the session from the client, we do not want the client to be able to play any games, thus the actual server-side id and a small amount of metadata is encrypted using server secret key.
Process the initial DPoP header (that establishes the key for the rest of the session).
Validates Oauth client assertion.
Ensures Oauth client attestation attached to the given HTTP request is valid.
Ensures Oauth client attestation proof-of-possession attached to the given HTTP request is valid.