pub struct WechatProviderWithWebApplication {
pub wechat_redirect: Option<bool>,
/* private fields */
}
Fields§
§wechat_redirect: Option<bool>
Implementations§
Source§impl WechatProviderWithWebApplication
impl WechatProviderWithWebApplication
pub fn new( appid: ClientId, 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 WechatProviderWithWebApplication
impl Clone for WechatProviderWithWebApplication
Source§fn clone(&self) -> WechatProviderWithWebApplication
fn clone(&self) -> WechatProviderWithWebApplication
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 ProviderExtAuthorizationCodeGrant for WechatProviderWithWebApplication
impl ProviderExtAuthorizationCodeGrant for WechatProviderWithWebApplication
fn redirect_uri(&self) -> Option<&RedirectUri>
fn scopes_default(&self) -> Option<Vec<<Self as Provider>::Scope>>
fn access_token_request_rendering( &self, body: &AccessTokenRequestBody, ) -> Option<Result<Request<Body>, Box<dyn Error + Send + Sync + 'static>>>
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>>
Auto Trait Implementations§
impl Freeze for WechatProviderWithWebApplication
impl RefUnwindSafe for WechatProviderWithWebApplication
impl Send for WechatProviderWithWebApplication
impl Sync for WechatProviderWithWebApplication
impl Unpin for WechatProviderWithWebApplication
impl UnwindSafe for WechatProviderWithWebApplication
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