Skip to main content

Module user_validation

Module user_validation 

Source
Expand description

Application identity policy at the endpoint’s actual admission boundary.

Structs§

PreparedUserCreation
A creation candidate already normalized and admitted by the configured identity policy. Adapters persist its trusted mutations without normalizing it again, and retain their ordinary database hooks.
UserValidationContext
The genuine logical endpoint call and its optional original HTTP request. Headerless server operations have an endpoint and no transport request.
UserValidationData
Mutable trusted candidate. Creation mutations are persisted; provider sign-in/link mutations affect only this validation copy.
UserValidationProvider
Provider identity before application profile mapping.
UserValidationRejection
A policy denial. An empty error is an admission, and an empty description falls back to the error code, matching the callback’s public contract.
UserValidationSource
Identity provenance supplied by the endpoint, never by its request body. The string method permits application-defined identity extensions.

Enums§

UserValidationAction
The identity operation being admitted. Non-provider returning sign-ins do not invoke this policy because they do not introduce new identity data.

Traits§

UserInfoValidator

Functions§

validate_user_info
Apply configured validation against fresh provider identity at a returning sign-in or account-link boundary. Creation is owned by the store wrapper.