Skip to main content

Module applications

Module applications 

Source

Structs§

Application
An OIDC client application registered with allowthem.
BrandingConfig
Branding configuration for an application’s hosted auth pages.
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_logo_url
Validate a logo URL for branding.
validate_primary_color
Validate a primary color for 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).