Struct rocket_simpleauth::dummy::DummyAuthenticator
[−]
[src]
pub struct DummyAuthenticator {}
Trait Implementations
impl Authenticator for DummyAuthenticator
[src]
An implementation of the authenticator which always lets the authentication succeed
On every invocation this will also print the incoming username and password.
This type should only be used for testing purposes.
type User = String
fn user(&self) -> String
[src]
a function that returns a user_id in the form a String
fn check_credentials(_username: String, _password: String) -> Result<Self, Self>
[src]
a function that checks if the user pass combination is valid and if it is returns true and an instance of itself Read more