Function receive_token

Source
pub fn receive_token<'a>(
    data: &'a mut OAuthData,
    key: &mut SigningKey,
    resp: &str,
) -> Result<&'a Token, Error>
Expand description

Updates an OAuthData and SigningKey with the response from either the access token or request token endpoints.

ยงErrors

Returns an error if the response is invalid.