pub fn with_user<N, P>(username: N, password: P) -> Self
    where
        N: Into<String>,
        P: Into<String>,
    {
        Authenticate {
            request: AuthenticationRequest::new(username, password),
        }
    }
/// Constructs a new instance of the `Authenticate` initialized with the
/// given username and password.
Constructs a new instance of the `Authenticate` initialized with the
given username and password.
Constructs a new instance of the ` Authenticate ` initialized with the given username and password .
pub fn with_user<N, P>(username: N, password: P) -> Self
    where
        N: Into<String>,
        P: Into<String>,
    {
        Authenticate {
            request: AuthenticationRequest::new(username, password),
        }
    }
pub fn with_user < N , P > ( username : N , password : P ) -> Self where N : Into < String > , P : Into < String > , { Authenticate { request : AuthenticationRequest :: new ( username , password ) , } }
Constructs a new instance of the `Authenticate` initialized with the
given username and password.
Constructs a new instance of the ` Authenticate ` initialized with the given username and password .
username
N
password
P
username
N
password
P