request_token_jwt

Function request_token_jwt 

Source
pub fn request_token_jwt(
    api_key: &str,
    identity_url: Option<&Url>,
    allow_insecure: bool,
    allow_invalid_certs: bool,
) -> Result<String>
Expand description

Follows the same process as request_token but only returns the raw JWT string part of the token

WARNING: allow_insecure enables using HTTP endpoints, but only has an affect when compiled with feature allow_insecure_urls. It is ignored otherwise, it is ignored otherwise.