pub fn with_credentials(credentials: &Credentials) -> Self {
        Authenticate {
            request: AuthenticationRequest::new(credentials.username(), credentials.password()),
        }
    }
/// Constructs a new instance of the `Authenticate` initialized with the
/// given credentials.
Constructs a new instance of the `Authenticate` initialized with the
given credentials.
Constructs a new instance of the ` Authenticate ` initialized with the given credentials .
pub fn with_credentials(credentials: &Credentials) -> Self {
        Authenticate {
            request: AuthenticationRequest::new(credentials.username(), credentials.password()),
        }
    }
pub fn with_credentials ( credentials : & Credentials ) -> Self { Authenticate { request : AuthenticationRequest :: new ( credentials . username ( ) , credentials . password ( ) ) , } }
Constructs a new instance of the `Authenticate` initialized with the
given credentials.
Constructs a new instance of the ` Authenticate ` initialized with the given credentials .
credentials
&Credentials
credentials
&Credentials