[][src]Function oauth_1a::receive_token

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

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.