pub struct Client(pub(crate) PasswordManagerClient);Tuple Fields§
§0: PasswordManagerClientImplementations§
Source§impl Client
impl Client
Sourcepub fn new(
token_provider: Arc<dyn ClientManagedTokens>,
settings: Option<ClientSettings>,
managed_settings: Arc<ManagedSettingsBindingClient>,
) -> Self
pub fn new( token_provider: Arc<dyn ClientManagedTokens>, settings: Option<ClientSettings>, managed_settings: Arc<ManagedSettingsBindingClient>, ) -> Self
Initialize a new instance of the SDK client
managed_settings is the host-owned handle onto the operating system’s Unified Endpoint
Management profile. The client shares its profile, so profiles pushed after construction
are visible here. Pass a fresh ManagedSettingsBindingClient where the host has no UEM
source.
Sourcepub fn crypto(&self) -> CryptoClient
pub fn crypto(&self) -> CryptoClient
Crypto operations
Sourcepub fn km_state_bridge(&self) -> StateBridgeClient
pub fn km_state_bridge(&self) -> StateBridgeClient
Returns the key-management state bridge client used to register a host-supplied storage implementation.
Sourcepub fn user_crypto_management(&self) -> UserCryptoManagementClient
pub fn user_crypto_management(&self) -> UserCryptoManagementClient
Returns the user-crypto-management sub-client (PIN settings, key rotation, etc).
Sourcepub fn crypto_sync_handler(&self) -> CryptoSyncHandlerClient
pub fn crypto_sync_handler(&self) -> CryptoSyncHandlerClient
Key management operations that run on every sync.
Sourcepub fn vault(&self) -> VaultClient
pub fn vault(&self) -> VaultClient
Vault item operations
Sourcepub fn collections(&self) -> CollectionsClient
pub fn collections(&self) -> CollectionsClient
Collection related operations.
This is registered directly on the top-level client in addition to being nested under
vault. Once mobile clients have migrated to this accessor, the nested one
will be removed.
pub fn platform(&self) -> PlatformClient
Sourcepub fn generators(&self) -> GeneratorClients
pub fn generators(&self) -> GeneratorClients
Generator operations
Sourcepub fn exporters(&self) -> ExporterClient
pub fn exporters(&self) -> ExporterClient
Exporters
Sourcepub fn importers(&self) -> ImporterClient
pub fn importers(&self) -> ImporterClient
Importers
Sourcepub fn sends(&self) -> SendClient
pub fn sends(&self) -> SendClient
Sends operations
Sourcepub fn send_sync_handler(&self) -> SendSyncHandlerClient
pub fn send_sync_handler(&self) -> SendSyncHandlerClient
Send sync handler operations
Sourcepub fn auth(&self) -> AuthClient
pub fn auth(&self) -> AuthClient
Auth operations
Sourcepub fn policies(&self) -> PoliciesClient
pub fn policies(&self) -> PoliciesClient
Policy operations
Trait Implementations§
Source§impl<UT> LowerError<UT> for Client
impl<UT> LowerError<UT> for Client
Source§fn lower_error(obj: Self) -> RustBuffer
fn lower_error(obj: Self) -> RustBuffer
Source§impl<UT> LowerReturn<UT> for Client
impl<UT> LowerReturn<UT> for Client
Source§type ReturnType = <Arc<Client> as LowerReturn<UniFfiTag>>::ReturnType
type ReturnType = <Arc<Client> as LowerReturn<UniFfiTag>>::ReturnType
Source§fn lower_return(obj: Self) -> Result<Self::ReturnType, RustCallError>
fn lower_return(obj: Self) -> Result<Self::ReturnType, RustCallError>
§fn handle_failed_lift(
error: LiftArgsError,
) -> Result<Self::ReturnType, RustCallError>
fn handle_failed_lift( error: LiftArgsError, ) -> Result<Self::ReturnType, RustCallError>
Auto Trait Implementations§
impl !RefUnwindSafe for Client
impl !UnwindSafe for Client
impl Freeze for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnsafeUnpin for Client
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Arc<> Read more§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more