Structs§
- Application
- An OIDC client application registered with allowthem.
- Application
Cursor - Opaque keyset cursor for paginating
list_applications_paginated. - Branding
Config - Branding configuration for an application’s hosted auth pages.
- Create
Application Params - Parameters for registering a new OIDC application via
Db::create_application. - Update
Application - Parameters for updating an application’s mutable fields.
Functions§
- generate_
client_ id - Generate a new
client_id:ath_+ 24 random bytes base64url-encoded. - generate_
client_ secret - Generate a new client secret and its Argon2 hash.
- validate_
accent_ hex - Validate an accent color for Wave Funk branding.
- validate_
font_ css_ url - Validate a font CSS URL. Must be an HTTPS URL (no loopback exception — production asset URL).
- validate_
logo_ url - Validate a logo URL for branding.
- validate_
primary_ color - Validate a primary color for Wave Funk branding.
- validate_
redirect_ uri - Validate that
redirect_uriexactly matches one of the registered URIs. - validate_
redirect_ uris - Validate a list of redirect URIs for registration (create or update).
- validate_
splash_ image_ url - Validate a splash image URL. Must be an HTTPS URL (no loopback exception).
- validate_
splash_ url - Validate a splash URL. Must be an HTTPS URL (no loopback exception).