pub struct DefaultScimProvider {
pub provider_id: String,
pub scim_token: String,
pub organization_id: Option<String>,
}Expand description
A statically configured SCIM provider.
provider_id is globally unique in storage, like Better Auth: it names one SCIM
connection, not one organization. Pair it with organization_id when the token
should only provision members of that organization.
Fields§
§provider_id: StringStable provider identifier (one persisted SCIM connection per value).
scim_token: StringPlain base token for the provider.
organization_id: Option<String>Optional organization scope.
Trait Implementations§
Source§impl Clone for DefaultScimProvider
impl Clone for DefaultScimProvider
Source§fn clone(&self) -> DefaultScimProvider
fn clone(&self) -> DefaultScimProvider
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DefaultScimProvider
impl Debug for DefaultScimProvider
impl Eq for DefaultScimProvider
Source§impl PartialEq for DefaultScimProvider
impl PartialEq for DefaultScimProvider
Source§fn eq(&self, other: &DefaultScimProvider) -> bool
fn eq(&self, other: &DefaultScimProvider) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DefaultScimProvider
Auto Trait Implementations§
impl Freeze for DefaultScimProvider
impl RefUnwindSafe for DefaultScimProvider
impl Send for DefaultScimProvider
impl Sync for DefaultScimProvider
impl Unpin for DefaultScimProvider
impl UnsafeUnpin for DefaultScimProvider
impl UnwindSafe for DefaultScimProvider
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.