Struct rocket_simpleauth::dummy::DummyAuthenticator
[−]
[src]
pub struct DummyAuthenticator {}Trait Implementations
impl Authenticator for DummyAuthenticator[src]
const COOKIE_IDENTIFIER: &'static str
COOKIE_IDENTIFIER: &'static str = "dummy.sessionid"
the identifier used to denote the session cookie
fn user_id(&self) -> String
a function that returns a user_id in the form a String
fn check_credentials(_username: String, _password: String) -> Result<Self, Self>
a function that checks if the user pass combination is valid and if it is returns true and an instance of itself Read more