pub struct GithubProviderWithWebApplication { /* private fields */ }
Implementations
sourceimpl GithubProviderWithWebApplication
impl GithubProviderWithWebApplication
pub fn new(
client_id: ClientId,
client_secret: ClientSecret,
redirect_uri: RedirectUri
) -> Result<Self, UrlParseError>
Trait Implementations
sourceimpl Clone for GithubProviderWithWebApplication
impl Clone for GithubProviderWithWebApplication
sourcefn clone(&self) -> GithubProviderWithWebApplication
fn clone(&self) -> GithubProviderWithWebApplication
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl 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, Global>>, Box<dyn Error + Sync + Send + 'static, Global>>>
fn access_token_response_parsing(
&self,
_response: &Response<Vec<u8, Global>>
) -> Option<Result<Result<SuccessfulBody<Self::Scope>, ErrorBody>, Box<dyn Error + Sync + Send + 'static, Global>>>
Auto Trait Implementations
impl RefUnwindSafe for GithubProviderWithWebApplication
impl Send for GithubProviderWithWebApplication
impl Sync for GithubProviderWithWebApplication
impl Unpin for GithubProviderWithWebApplication
impl UnwindSafe for GithubProviderWithWebApplication
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more