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.

[src]

a function that returns a user_id in the form a String

[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

Auto Trait Implementations