Skip to main content

parse_access_token_response

Function parse_access_token_response 

Source
pub fn parse_access_token_response(raw: &str) -> Result<String, ServiceError>
Expand description

Parse access_token from OAuth token response.

Supports both JSON ({\"access_token\":\"...\"}) and query-string style (access_token=...&scope=...) payloads.