pub struct RevokeAccessToken {
pub access_token: String,
}Expand description
Use this method to revoke access_token and generate a new one, for example, if the user would like to reset all connected sessions, or you have reasons to believe the token was compromised. On success, returns an Account object with new access_token and auth_url fields.
-
access_token (String) Required. Access token of the Telegraph account.
-
Sample request https://api.telegra.ph/revokeAccessToken?access_token=b968da509bb76866c35425099bc0989a5ec3b32997d55286c657e6994bbb
Fields§
§access_token: StringImplementations§
Auto Trait Implementations§
impl Freeze for RevokeAccessToken
impl RefUnwindSafe for RevokeAccessToken
impl Send for RevokeAccessToken
impl Sync for RevokeAccessToken
impl Unpin for RevokeAccessToken
impl UnsafeUnpin for RevokeAccessToken
impl UnwindSafe for RevokeAccessToken
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more