Skip to main content

Crate ordinary_auth

Crate ordinary_auth 

Source
Expand description

§Ordinary Auth

crates.io docs.rs dependency status License: AGPL v3

Auth for Ordinary.

§License

Copyright 2026 Ordinary Labs, LLC

Licensed under the GNU AGPLv3: https://www.gnu.org/licenses/agpl-3.0.html

§Security

THIS CODE HAS NOT BEEN AUDITED OR REVIEWED. USE AT YOUR OWN RISK.

Refer to the Security Policy.

Modules§

keyscore
login
recoverycore
registration
token

Structs§

Authcore
AuthClientclient
DefaultCipherSuite
OsRng
A random number generator that retrieves randomness from the operating system.
ServerSetup
The state elements the server holds upon setup

Constants§

EXP_LEN

Statics§

ACCOUNT_REGEX
^[a-z][a-z0-9_]{0,13}[a-z0-9]$
SUBDOMAIN_REGEX
^[a-z][a-z0-9\-]{0,35}[a-z0-9][.]$

Functions§

validate_account
validate_domain