pub fn parse_token_response(
body: &str,
) -> Result<OAuthTokenResponse, SecurityError>Expand description
Parses a token-endpoint JSON response body.
ยงErrors
Returns SecurityError::OAuth when JSON is invalid or access_token is missing.
pub fn parse_token_response(
body: &str,
) -> Result<OAuthTokenResponse, SecurityError>Parses a token-endpoint JSON response body.
Returns SecurityError::OAuth when JSON is invalid or access_token is missing.