pub struct CanonicalRealm {
pub backend: BackendInfo,
pub realm: Realm,
pub clients: Vec<Client>,
pub client_scopes: Vec<ClientScope>,
pub groups: Vec<Group>,
pub roles: Vec<Role>,
pub users: Vec<User>,
pub credentials: Vec<Credential>,
pub protocol_mappers: Vec<ProtocolMapper>,
pub auth_flows: Vec<AuthFlow>,
pub identity_providers: Vec<IdentityProvider>,
pub volatile: VolatileSection,
}Expand description
One canonical realm’s worth of extracted state.
Collections are the adapter’s responsibility to sort by a stable key
before being placed here (see ARCHITECTURE.md §4); core serializes
deterministically on top of that.
Fields§
§backend: BackendInfoBackend and schema version detected at the source.
realm: RealmThe realm itself.
clients: Vec<Client>Clients.
client_scopes: Vec<ClientScope>Reusable provider-configuration bundles.
groups: Vec<Group>Groups.
roles: Vec<Role>Roles.
users: Vec<User>Users.
credentials: Vec<Credential>Credential records.
protocol_mappers: Vec<ProtocolMapper>Protocol mappers.
auth_flows: Vec<AuthFlow>Authentication flows.
identity_providers: Vec<IdentityProvider>External identity providers.
volatile: VolatileSectionVolatile, non-configuration data, keyed by entity/row/path.
Trait Implementations§
Source§impl Clone for CanonicalRealm
impl Clone for CanonicalRealm
Source§impl Debug for CanonicalRealm
impl Debug for CanonicalRealm
Source§impl Default for CanonicalRealm
impl Default for CanonicalRealm
Source§impl<'de> Deserialize<'de> for CanonicalRealm
impl<'de> Deserialize<'de> for CanonicalRealm
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CanonicalRealm
impl PartialEq for CanonicalRealm
Source§impl Serialize for CanonicalRealm
impl Serialize for CanonicalRealm
impl StructuralPartialEq for CanonicalRealm
Auto Trait Implementations§
impl Freeze for CanonicalRealm
impl RefUnwindSafe for CanonicalRealm
impl Send for CanonicalRealm
impl Sync for CanonicalRealm
impl Unpin for CanonicalRealm
impl UnsafeUnpin for CanonicalRealm
impl UnwindSafe for CanonicalRealm
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