pub struct CustomProvider {
pub auth_url: String,
pub token_url: String,
pub client_id: String,
pub client_secret: String,
pub redirect_url: String,
pub state: Option<StateAuth>,
}Fields§
§auth_url: String§token_url: String§client_id: String§client_secret: String§redirect_url: String§state: Option<StateAuth>Implementations§
Trait Implementations§
Source§impl Clone for CustomProvider
impl Clone for CustomProvider
Source§fn clone(&self) -> CustomProvider
fn clone(&self) -> CustomProvider
Returns a duplicate 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 OAuthClient for CustomProvider
impl OAuthClient for CustomProvider
fn get_client(&self) -> Result<BasicClient, OauthError>
Auto Trait Implementations§
impl Freeze for CustomProvider
impl RefUnwindSafe for CustomProvider
impl Send for CustomProvider
impl Sync for CustomProvider
impl Unpin for CustomProvider
impl UnwindSafe for CustomProvider
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