Function rocket_auth_token::encode_credentials[][src]

pub fn encode_credentials(auth: &AuthCredentials) -> AuthToken
Expand description

Encode AuthCredentials into base64 encoded string and return AuthToken