pub fn revoke_token(&self, token: &str) {
        let mut new;
        {
            let existing = self.keys.load();
            new = existing.as_ref().clone();
            new.remove(token);
        }
        self.keys.store(Arc::new(new));
    }
/// Revoke a given access token.
Revoke a given access token.
Revoke a given access token .
pub fn revoke_token(&self, token: &str) {
        let mut new;
        {
            let existing = self.keys.load();
            new = existing.as_ref().clone();
            new.remove(token);
        }
        self.keys.store(Arc::new(new));
    }
pub fn revoke_token ( & self , token : & str ) { let mut new ; { let existing = self . keys . load ( ) ; new = existing . as_ref ( ) . clone ( ) ; new . remove ( token ) ; } self . keys . store ( Arc :: new ( new ) ) ; }
Revoke a given access token.
Revoke a given access token .
&self
token
&str
&self
token
&str