junobuild-auth 0.4.1

Authentication toolkit for Juno.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub trait Validated {
    fn validate(&self) -> Result<(), String>;
}

pub trait OpenIdProfile {
    fn email(&self) -> Option<&str>;
    fn name(&self) -> Option<&str>;
    fn given_name(&self) -> Option<&str>;
    fn family_name(&self) -> Option<&str>;
    fn preferred_username(&self) -> Option<&str>;
    fn picture(&self) -> Option<&str>;
    fn locale(&self) -> Option<&str>;
}