pub struct TwitchProviderForWebServerApps {
pub force_verify: Option<bool>,
/* private fields */
}
Fields§
§force_verify: Option<bool>
Implementations§
Source§impl TwitchProviderForWebServerApps
impl TwitchProviderForWebServerApps
pub fn new( client_id: ClientId, client_secret: ClientSecret, redirect_uri: RedirectUri, ) -> Result<Self, UrlParseError>
pub fn configure<F>(self, f: F) -> Selfwhere
F: FnMut(&mut Self),
Trait Implementations§
Source§impl Clone for TwitchProviderForWebServerApps
impl Clone for TwitchProviderForWebServerApps
Source§fn clone(&self) -> TwitchProviderForWebServerApps
fn clone(&self) -> TwitchProviderForWebServerApps
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl ProviderExtAuthorizationCodeGrant for TwitchProviderForWebServerApps
impl ProviderExtAuthorizationCodeGrant for TwitchProviderForWebServerApps
fn redirect_uri(&self) -> Option<&RedirectUri>
fn scopes_default(&self) -> Option<Vec<<Self as Provider>::Scope>>
fn access_token_response_parsing( &self, response: &Response<Body>, ) -> Option<Result<Result<AccessTokenResponseSuccessfulBody<<Self as Provider>::Scope>, AccessTokenResponseErrorBody>, Box<dyn Error + Send + Sync + 'static>>>
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>>>
Auto Trait Implementations§
impl Freeze for TwitchProviderForWebServerApps
impl RefUnwindSafe for TwitchProviderForWebServerApps
impl Send for TwitchProviderForWebServerApps
impl Sync for TwitchProviderForWebServerApps
impl Unpin for TwitchProviderForWebServerApps
impl UnwindSafe for TwitchProviderForWebServerApps
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