pub struct AuthorizationManager { /* private fields */ }Expand description
Operations for the “authorization” API area.
Implementations§
Source§impl AuthorizationManager
impl AuthorizationManager
pub async fn create_oauth2_token( &self, body: PostOAuth2Token, ) -> Result<AccessToken, Error>
pub async fn create_oauth2_token_refresh( &self, body: PostOAuth2TokenRefreshAccessToken, ) -> Result<AccessToken, Error>
pub async fn revoke_oauth2(&self, body: PostOAuth2Revoke) -> Result<(), Error>
Auto Trait Implementations§
impl !RefUnwindSafe for AuthorizationManager
impl !UnwindSafe for AuthorizationManager
impl Freeze for AuthorizationManager
impl Send for AuthorizationManager
impl Sync for AuthorizationManager
impl Unpin for AuthorizationManager
impl UnsafeUnpin for AuthorizationManager
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