client/contracts.aug
OpenID Connect login application · Source and specification
Files in this project
main.augclient/contracts.augclient/endpoints.augclient/export.augclient/login.augclient/logout.augclient/protocol.augclient/session.augclient/views.augcommon/export.augcommon/headers.augcommon/keys.augcommon/settings.augcommon/views.augprovider/authorization.augprovider/contracts.augprovider/credentials.augprovider/discovery.augprovider/export.augprovider/token.augprovider/userinfo.augprovider/views.aug
Code
aug
// aug-spec: "contracts.aug.md" explains this file. Read it before changes; refresh with aug spec.
/** Browser-bound client state, nonce and PKCE verifier, consumed by the callback. */
record LoginTransaction(string state, string nonce, string verifier, int expires)
/** Sessions require their own issuer, audience, key and JWT type, plus a live registry entry. */
record SessionClaims(string iss, string sub, string aud, int exp, int iat, string jti, string csrf, string name)
record LogoutForm(string csrf)
SessionError() implements Error:
passaug
// aug-spec: "contracts.aug.md" explains this file. Read it before changes; refresh with aug spec.
/** Browser-bound client state, nonce and PKCE verifier, consumed by the callback. */
record LoginTransaction(string state, string nonce, string verifier, int expires)
/** Sessions require their own issuer, audience, key and JWT type, plus a live registry entry. */
record SessionClaims(string iss, string sub, string aud, int exp, int iat, string jti, string csrf, string name)
record LogoutForm(string csrf)
SessionError() implements Error {
pass
}Compiled specification
LoginTransaction · immutable record · source
Browser-bound client state, nonce and PKCE verifier, consumed by the callback. It takes state, nonce, and verifier as strings, kept read-only and expires as an integer, kept read-only.
SessionClaims · immutable record · source
Sessions require their own issuer, audience, key and JWT type, plus a live registry entry. It takes iss, sub, and aud as strings, kept read-only, exp and iat as integers, kept read-only, and jti, csrf, and name as strings, kept read-only.
LogoutForm · immutable record · source
It takes csrf as a string, kept read-only.
SessionError · class · source
It implements Error.