Skip to main content

Crate bitwarden_policies

Crate bitwarden_policies 

Source
Expand description

Β§Bitwarden Policies

Contains policy-related data types and structures used across the SDK, as well as business logic relating to policy enforcement.

Re-exportsΒ§

pub use filter::Policy;
pub use policy_overrides::*;

ModulesΒ§

filter
Policy filtering logic.
master_password_policy_response πŸ”’
models πŸ”’
Data models for the policy domain.
policy_client πŸ”’
PolicyClient and its associated extension trait.
policy_overrides
Custom policy implementations that override the default rules.
policy_type πŸ”’
The PolicyType enum.
registry πŸ”’
Policy registry for managing Policy implementations.
uniffi_support πŸ”’

StructsΒ§

MasterPasswordPolicyResponse
SDK domain model for master password policy requirements. Defines the complexity requirements for a user’s master password when enforced by an organization policy.
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 by the organization.
PolicyClient
Client for policy domain operations.
PolicyView
An organization policy.

EnumsΒ§

PolicyType
The type of an organization policy.

ConstantsΒ§

UNIFFI_META_CONST_NAMESPACE_BITWARDEN_POLICIES πŸ”’
Export namespace metadata.

TraitsΒ§

PoliciesClientExt
Extension trait that adds a policies method to [Client].