Expand description
§sui-id-shared
Shared types crossing crate boundaries. Kept intentionally small: only DTOs,
protocol-level enums, and a public-facing API error type live here. Internal
domain logic stays in sui-id-core.
Re-exports§
pub use auth_method::acr_from_methods;pub use auth_method::amr_from_methods;pub use auth_method::AuthMethod;pub use errors::ApiError;pub use errors::ApiErrorCode;
Modules§
- api
- Data-transfer objects exchanged on the JSON management API.
- auth_
method - Which authentication factors a session was established with.
- errors
- Public-facing API error type.
- ids
- Strongly-typed identifiers.
Functions§
- normalize_
email - Normalise an email address for case-insensitive uniqueness checks and
lookup. The original-case form is preserved separately in
UserRow.emailfor display purposes; this function produces the canonical form used for database indexing and forgot-password lookup.