pub struct GithubProviderWithWebApplication { /* private fields */ }Implementations§
Source§impl GithubProviderWithWebApplication
impl GithubProviderWithWebApplication
pub fn new( client_id: ClientId, client_secret: ClientSecret, redirect_uri: RedirectUri, ) -> Result<Self, UrlParseError>
Trait Implementations§
Source§impl Clone for GithubProviderWithWebApplication
impl Clone for GithubProviderWithWebApplication
Source§fn clone(&self) -> GithubProviderWithWebApplication
fn clone(&self) -> GithubProviderWithWebApplication
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ProviderExtAuthorizationCodeGrant for GithubProviderWithWebApplication
impl ProviderExtAuthorizationCodeGrant for GithubProviderWithWebApplication
fn redirect_uri(&self) -> Option<&RedirectUri>
fn scopes_default(&self) -> Option<Vec<<Self as Provider>::Scope>>
fn oidc_support_type( &self, ) -> Option<ProviderExtAuthorizationCodeGrantOidcSupportType>
fn pkce_support_type( &self, ) -> Option<ProviderExtAuthorizationCodeGrantPkceSupportType>
fn access_token_request_body_extra( &self, _body: &BodyWithAuthorizationCodeGrant, ) -> Option<Map<String, Value>>
fn access_token_request_rendering( &self, _body: &BodyWithAuthorizationCodeGrant, ) -> Option<Result<Request<Vec<u8>>, Box<dyn Error + Sync + Send>>>
fn access_token_response_parsing( &self, _response: &Response<Vec<u8>>, ) -> Option<Result<Result<SuccessfulBody<Self::Scope>, ErrorBody>, Box<dyn Error + Sync + Send>>>
Auto Trait Implementations§
impl Freeze for GithubProviderWithWebApplication
impl RefUnwindSafe for GithubProviderWithWebApplication
impl Send for GithubProviderWithWebApplication
impl Sync for GithubProviderWithWebApplication
impl Unpin for GithubProviderWithWebApplication
impl UnsafeUnpin for GithubProviderWithWebApplication
impl UnwindSafe for GithubProviderWithWebApplication
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