pub struct AppleOptions {
pub client_ids: Vec<String>,
pub client_secret: String,
pub audience: Option<Vec<String>>,
pub app_bundle_identifier: Option<String>,
pub scope: Vec<String>,
pub disable_default_scope: bool,
pub disable_id_token_sign_in: bool,
pub jwks_source: Option<Arc<dyn OAuthJwksSource>>,
pub map_profile_to_user: Option<fn(Value) -> Result<OAuthUserInfo, String>>,
}Expand description
Apple-specific immutable configuration. Generic provider policy and trusted application callback overrides remain available on the returned provider.
Fields§
§client_ids: Vec<String>§client_secret: String§audience: Option<Vec<String>>§app_bundle_identifier: Option<String>§scope: Vec<String>§disable_default_scope: bool§disable_id_token_sign_in: bool§jwks_source: Option<Arc<dyn OAuthJwksSource>>§map_profile_to_user: Option<fn(Value) -> Result<OAuthUserInfo, String>>Receives the enriched original profile. Its mapped ID cannot replace sub.
Implementations§
Trait Implementations§
Source§impl Clone for AppleOptions
impl Clone for AppleOptions
Auto Trait Implementations§
impl !RefUnwindSafe for AppleOptions
impl !UnwindSafe for AppleOptions
impl Freeze for AppleOptions
impl Send for AppleOptions
impl Sync for AppleOptions
impl Unpin for AppleOptions
impl UnsafeUnpin for AppleOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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