pub struct DoorkeeperProviderWithClientCredentials<SCOPE>where
SCOPE: Scope,{ /* private fields */ }
Implementations§
Source§impl<SCOPE> DoorkeeperProviderWithClientCredentials<SCOPE>where
SCOPE: Scope,
impl<SCOPE> DoorkeeperProviderWithClientCredentials<SCOPE>where
SCOPE: Scope,
pub fn new( client_id: ClientId, client_secret: ClientSecret, token_url: impl AsRef<str>, ) -> Result<Self, UrlParseError>
Trait Implementations§
Source§impl<SCOPE> Clone for DoorkeeperProviderWithClientCredentials<SCOPE>
impl<SCOPE> Clone for DoorkeeperProviderWithClientCredentials<SCOPE>
Source§fn clone(&self) -> DoorkeeperProviderWithClientCredentials<SCOPE>
fn clone(&self) -> DoorkeeperProviderWithClientCredentials<SCOPE>
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<SCOPE> Debug for DoorkeeperProviderWithClientCredentials<SCOPE>
impl<SCOPE> Debug for DoorkeeperProviderWithClientCredentials<SCOPE>
Source§impl<SCOPE> Provider for DoorkeeperProviderWithClientCredentials<SCOPE>where
SCOPE: Scope,
impl<SCOPE> Provider for DoorkeeperProviderWithClientCredentials<SCOPE>where
SCOPE: Scope,
Source§impl<SCOPE> ProviderExtClientCredentialsGrant for DoorkeeperProviderWithClientCredentials<SCOPE>where
SCOPE: Scope,
impl<SCOPE> ProviderExtClientCredentialsGrant for DoorkeeperProviderWithClientCredentials<SCOPE>where
SCOPE: Scope,
fn client_password_in_request_body(&self) -> bool
fn scopes_default(&self) -> Option<Vec<Self::Scope>>
fn access_token_request_body_extra( &self, _body: &BodyWithClientCredentialsGrant<Self::Scope>, ) -> Option<Result<Map<String, Value>, Box<dyn Error + Sync + Send>>>
fn access_token_request_url_modifying(&self, _url: &mut Url)
fn access_token_request_modifying(&self, _request: &mut Request<Vec<u8>>)
Auto Trait Implementations§
impl<SCOPE> Freeze for DoorkeeperProviderWithClientCredentials<SCOPE>
impl<SCOPE> RefUnwindSafe for DoorkeeperProviderWithClientCredentials<SCOPE>where
SCOPE: RefUnwindSafe,
impl<SCOPE> Send for DoorkeeperProviderWithClientCredentials<SCOPE>where
SCOPE: Send,
impl<SCOPE> Sync for DoorkeeperProviderWithClientCredentials<SCOPE>where
SCOPE: Sync,
impl<SCOPE> Unpin for DoorkeeperProviderWithClientCredentials<SCOPE>where
SCOPE: Unpin,
impl<SCOPE> UnwindSafe for DoorkeeperProviderWithClientCredentials<SCOPE>where
SCOPE: UnwindSafe,
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