pub struct DiscoveredSpec {
pub auth_url: String,
pub token_url: String,
pub userinfo_url: Option<String>,
pub scopes: String,
pub userinfo_parser: UserinfoParser,
pub token_exchange: TokenExchangeShape,
}Expand description
Owned spec produced by OIDC discovery — same fields as
ProviderSpec but with String instead of &'static str since
the URLs come from the network, not the binary.
Fields§
§auth_url: String§token_url: String§userinfo_url: Option<String>§scopes: String§userinfo_parser: UserinfoParser§token_exchange: TokenExchangeShapeTrait Implementations§
Source§impl Clone for DiscoveredSpec
impl Clone for DiscoveredSpec
Source§fn clone(&self) -> DiscoveredSpec
fn clone(&self) -> DiscoveredSpec
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 moreAuto Trait Implementations§
impl Freeze for DiscoveredSpec
impl RefUnwindSafe for DiscoveredSpec
impl Send for DiscoveredSpec
impl Sync for DiscoveredSpec
impl Unpin for DiscoveredSpec
impl UnsafeUnpin for DiscoveredSpec
impl UnwindSafe for DiscoveredSpec
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