pub struct YahooProviderForWebApps { /* private fields */ }

Implementations§

source§

impl YahooProviderForWebApps

source

pub fn new( client_id: ClientId, client_secret: ClientSecret, redirect_uri: RedirectUri ) -> Result<Self, UrlParseError>

Trait Implementations§

source§

impl Clone for YahooProviderForWebApps

source§

fn clone(&self) -> YahooProviderForWebApps

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for YahooProviderForWebApps

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Provider for YahooProviderForWebApps

§

type Scope = YahooScope

source§

fn client_id(&self) -> Option<&ClientId>

source§

fn client_secret(&self) -> Option<&ClientSecret>

source§

fn token_endpoint_url(&self) -> &Url

source§

fn extra(&self) -> Option<Map<String, Value>>

source§

impl ProviderExtAuthorizationCodeGrant for YahooProviderForWebApps

source§

fn redirect_uri(&self) -> Option<&RedirectUri>

source§

fn oidc_support_type( &self ) -> Option<ProviderExtAuthorizationCodeGrantOidcSupportType>

source§

fn scopes_default(&self) -> Option<Vec<<Self as Provider>::Scope>>

source§

fn authorization_endpoint_url(&self) -> &Url

source§

fn pkce_support_type( &self ) -> Option<ProviderExtAuthorizationCodeGrantPkceSupportType>

source§

fn authorization_request_query_extra(&self) -> Option<Map<String, Value>>

source§

fn authorization_request_query_serializing( &self, _query: &Query<Self::Scope> ) -> Option<Result<String, Box<dyn Error + Send + Sync + 'static, Global>>>

source§

fn authorization_request_url_modifying(&self, _url: &mut Url)

source§

fn access_token_request_body_extra( &self, _body: &BodyWithAuthorizationCodeGrant ) -> Option<Map<String, Value>>

source§

fn access_token_request_rendering( &self, _body: &BodyWithAuthorizationCodeGrant ) -> Option<Result<Request<Vec<u8, Global>>, Box<dyn Error + Send + Sync + 'static, Global>>>

source§

fn access_token_response_parsing( &self, _response: &Response<Vec<u8, Global>> ) -> Option<Result<Result<SuccessfulBody<Self::Scope>, ErrorBody>, Box<dyn Error + Send + Sync + 'static, Global>>>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V