shield 0.2.2

Web authentication for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
const ACTION_ID: &str = "sign-in";
const ACTION_NAME: &str = "Sign in";

pub struct SignInAction;

impl SignInAction {
    pub fn id() -> String {
        ACTION_ID.to_owned()
    }

    pub fn name() -> String {
        ACTION_NAME.to_owned()
    }
}