junobuild-auth 0.4.2

Authentication toolkit for Juno.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// https://stackoverflow.com/a/574698/5404186
pub const EMAIL_MAX_LENGTH: usize = 254;

// As in a conventional VARCHAR(255)
pub const NAME_MAX_LENGTH: usize = 255;

// Empirical length
pub const SHORT_NAME_MAX_LENGTH: usize = 100;

// https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
// https://www.rfc-editor.org/info/bcp47
pub const LOCALE_MAX_LENGTH: usize = 35;