Function egg_mode::invalidate_bearer
[−]
[src]
pub fn invalidate_bearer(
con_token: &KeyPair,
token: &Token
) -> Result<Token<'static>, Error>
Invalidate the given Bearer token using the given consumer KeyPair. Upon success, returns the Token that was just invalidated.
Errors
If the Token passed in is not a Bearer token, this function will return a MissingValue
error
referencing the "token", without calling Twitter.