pub struct Authorization {}Implementations§
Source§impl Authorization
impl Authorization
Sourcepub fn begin_auth(
client_id: String,
redirect_uri: String,
) -> Result<AwaitingAuthCode, AuthorizationError>
pub fn begin_auth( client_id: String, redirect_uri: String, ) -> Result<AwaitingAuthCode, AuthorizationError>
Create authorization URL with required data, and begin authorization process.
Auto Trait Implementations§
impl Freeze for Authorization
impl RefUnwindSafe for Authorization
impl Send for Authorization
impl Sync for Authorization
impl Unpin for Authorization
impl UnwindSafe for Authorization
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