pub struct AmazonProviderWithWebServices { /* private fields */ }
Implementations§
Source§impl AmazonProviderWithWebServices
impl AmazonProviderWithWebServices
pub fn new( client_id: ClientId, client_secret: ClientSecret, redirect_uri: RedirectUri, token_url_region: impl Into<Option<AmazonTokenUrlRegion>>, ) -> Result<Self, UrlParseError>
Trait Implementations§
Source§impl Clone for AmazonProviderWithWebServices
impl Clone for AmazonProviderWithWebServices
Source§fn clone(&self) -> AmazonProviderWithWebServices
fn clone(&self) -> AmazonProviderWithWebServices
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 AmazonProviderWithWebServices
impl ProviderExtAuthorizationCodeGrant for AmazonProviderWithWebServices
fn redirect_uri(&self) -> Option<&RedirectUri>
fn pkce_support_type( &self, ) -> Option<ProviderExtAuthorizationCodeGrantPkceSupportType>
fn scopes_default(&self) -> Option<Vec<<Self as Provider>::Scope>>
fn oidc_support_type( &self, ) -> Option<ProviderExtAuthorizationCodeGrantOidcSupportType>
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 + Send + Sync>>>
fn access_token_response_parsing( &self, _response: &Response<Vec<u8>>, ) -> Option<Result<Result<SuccessfulBody<Self::Scope>, ErrorBody>, Box<dyn Error + Send + Sync>>>
Auto Trait Implementations§
impl Freeze for AmazonProviderWithWebServices
impl RefUnwindSafe for AmazonProviderWithWebServices
impl Send for AmazonProviderWithWebServices
impl Sync for AmazonProviderWithWebServices
impl Unpin for AmazonProviderWithWebServices
impl UnwindSafe for AmazonProviderWithWebServices
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