junobuild-auth 0.4.2

Authentication toolkit for Juno.
Documentation
// An email must not be longer than 254 characters
pub const JUNO_AUTH_ERROR_PROFILE_EMAIL_INVALID_LENGTH: &str =
    "juno.auth.error.profile.data.email_invalid_length";
// A name must not be longer than 255 characters
pub const JUNO_AUTH_ERROR_PROFILE_NAME_INVALID_LENGTH: &str =
    "juno.auth.error.profile.data.name_invalid_length";
// A given name must not be longer than 100 characters
pub const JUNO_AUTH_ERROR_PROFILE_GIVEN_NAME_INVALID_LENGTH: &str =
    "juno.auth.error.profile.data.given_name_invalid_length";
// A family name must not be longer than 100 characters
pub const JUNO_AUTH_ERROR_PROFILE_FAMILY_NAME_INVALID_LENGTH: &str =
    "juno.auth.error.profile.data.family_name_invalid_length";
// A preferred_username (e.g. GitHub login) name must not be longer than 100 characters
pub const JUNO_AUTH_ERROR_PROFILE_PREFERRED_USERNAME_INVALID_LENGTH: &str =
    "juno.auth.error.profile.data.preferred_username_invalid_length";
// Locale must not be longer than 35 characters
pub const JUNO_AUTH_ERROR_PROFILE_LOCALE_INVALID_LENGTH: &str =
    "juno.auth.error.profile.data.locale_invalid_length";
pub const JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_URL: &str =
    "juno.auth.error.profile.data.picture_invalid_url";
pub const JUNO_AUTH_ERROR_PROFILE_PICTURE_INVALID_SCHEME: &str =
    "juno.auth.error.profile.data.picture_invalid_scheme";