Skip to main content

Module models

Module models 

Source
Expand description

Data models for the policy domain.

Structsยง

EnforcedPolicy ๐Ÿ”’
A per-organization enforcement decision for a single policy type.
EnforcedPolicyErased
The FFI-facing counterpart of the native EnforcedPolicy, with its strongly-typed data erased to PolicyDataType so it can cross the binding boundary.
OrganizationUserPolicyContext
A minimal set of data for a user in an organization. This provides the context needed to evaluate the policies that are applied to the user.
PolicyView
An organization policy in the raw data format that is sent over the FFI.
ResolvedPolicyView ๐Ÿ”’
A PolicyView resolved against the concrete Policy that handles it.

Constantsยง

UNIFFI_META_CONST_BITWARDEN_POLICIES_RECORD_ENFORCEDPOLICYERASED ๐Ÿ”’
UNIFFI_META_CONST_BITWARDEN_POLICIES_RECORD_ORGANIZATIONUSERPOLICYCONTEXT ๐Ÿ”’
UNIFFI_META_CONST_BITWARDEN_POLICIES_RECORD_POLICYVIEW ๐Ÿ”’