pub struct ZohoProviderForWebServerApps {
pub access_type: Option<ZohoProviderForWebServerAppsAccessType>,
pub prompt: Option<String>,
/* private fields */
}
Fields§
§access_type: Option<ZohoProviderForWebServerAppsAccessType>
§prompt: Option<String>
Implementations§
Source§impl ZohoProviderForWebServerApps
impl ZohoProviderForWebServerApps
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 ZohoProviderForWebServerApps
impl Clone for ZohoProviderForWebServerApps
Source§fn clone(&self) -> ZohoProviderForWebServerApps
fn clone(&self) -> ZohoProviderForWebServerApps
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 Debug for ZohoProviderForWebServerApps
impl Debug for ZohoProviderForWebServerApps
Source§impl ProviderExtAuthorizationCodeGrant for ZohoProviderForWebServerApps
impl ProviderExtAuthorizationCodeGrant for ZohoProviderForWebServerApps
fn redirect_uri(&self) -> Option<&RedirectUri>
fn oidc_support_type( &self, ) -> Option<ProviderExtAuthorizationCodeGrantOidcSupportType>
fn scopes_default(&self) -> Option<Vec<<Self as Provider>::Scope>>
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 ZohoProviderForWebServerApps
impl RefUnwindSafe for ZohoProviderForWebServerApps
impl Send for ZohoProviderForWebServerApps
impl Sync for ZohoProviderForWebServerApps
impl Unpin for ZohoProviderForWebServerApps
impl UnwindSafe for ZohoProviderForWebServerApps
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