Skip to main content

Module applications

Module applications 

Source

Structs§

Application
An OIDC client application registered with allowthem.
ApplicationCursor
Opaque keyset cursor for paginating list_applications_paginated.
BrandingConfig
Branding configuration for an application’s hosted auth pages.
CreateApplicationParams
Parameters for registering a new OIDC application via Db::create_application.
UpdateApplication
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_uri exactly 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).