pub struct GithubProviderWithDevice { /* private fields */ }
Implementations§
Source§impl GithubProviderWithDevice
impl GithubProviderWithDevice
pub fn new(client_id: ClientId) -> Result<Self, UrlParseError>
Trait Implementations§
Source§impl Clone for GithubProviderWithDevice
impl Clone for GithubProviderWithDevice
Source§fn clone(&self) -> GithubProviderWithDevice
fn clone(&self) -> GithubProviderWithDevice
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GithubProviderWithDevice
impl Debug for GithubProviderWithDevice
Source§impl Provider for GithubProviderWithDevice
impl Provider for GithubProviderWithDevice
Source§impl ProviderExtDeviceAuthorizationGrant for GithubProviderWithDevice
impl ProviderExtDeviceAuthorizationGrant for GithubProviderWithDevice
fn scopes_default(&self) -> Option<Vec<Self::Scope>>
fn device_access_token_request_body_extra( &self, _body: &BodyWithDeviceAuthorizationGrant, _device_authorization_response_body: &SuccessfulBody, ) -> Option<Map<String, Value>>
fn device_access_token_request_rendering( &self, _body: &BodyWithDeviceAuthorizationGrant, _device_authorization_response_body: &SuccessfulBody, ) -> Option<Result<Request<Vec<u8>>, Box<dyn Error + Send + Sync>>>
fn device_access_token_response_parsing( &self, _response: &Response<Vec<u8>>, ) -> Option<Result<Result<Result<SuccessfulBody<Self::Scope>, ErrorBody>, DeviceAccessTokenEndpointRetryReason>, Box<dyn Error + Send + Sync>>>
Auto Trait Implementations§
impl Freeze for GithubProviderWithDevice
impl RefUnwindSafe for GithubProviderWithDevice
impl Send for GithubProviderWithDevice
impl Sync for GithubProviderWithDevice
impl Unpin for GithubProviderWithDevice
impl UnwindSafe for GithubProviderWithDevice
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