pub struct OrganizationUsersKeysApiClient {
configuration: Arc<Configuration>,
}Fields§
§configuration: Arc<Configuration>Implementations§
Source§impl OrganizationUsersKeysApiClient
impl OrganizationUsersKeysApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl OrganizationUsersKeysApi for OrganizationUsersKeysApiClient
impl OrganizationUsersKeysApi for OrganizationUsersKeysApiClient
Source§fn get_pending_v2_upgrades<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
continuation_token: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserPendingV2UpgradeResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_pending_v2_upgrades<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
continuation_token: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserPendingV2UpgradeResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
A V1 to V2 upgrade rotation cannot re-wrap the account recovery key, because that requires
the member to trust the organization’s public key and the upgrade does not prompt the
member. The rotation leaves a V2 upgrade token on the membership instead. Account recovery
gives the admin the member’s V1 user key, so the admin unwraps the V2 user key from the
token and re-wraps the account recovery key with it. Only Owners and Admins of
the organization can call this endpoint. It returns only the members the caller can recover.
The client posts each page to POST v2-upgrades, then reads the next page with the
continuation token of the response, until the token is null. A page can be empty and still
have a token.
Source§fn post_v2_upgrades<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_v2_upgrades_request_model: Option<OrganizationUserV2UpgradesRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_v2_upgrades<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_v2_upgrades_request_model: Option<OrganizationUserV2UpgradesRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
Only Owners and Admins of the organization can call this endpoint, and only for members they can recover. A membership that has changed since the read is skipped rather than rejected.
Auto Trait Implementations§
impl !RefUnwindSafe for OrganizationUsersKeysApiClient
impl !UnwindSafe for OrganizationUsersKeysApiClient
impl Freeze for OrganizationUsersKeysApiClient
impl Send for OrganizationUsersKeysApiClient
impl Sync for OrganizationUsersKeysApiClient
impl Unpin for OrganizationUsersKeysApiClient
impl UnsafeUnpin for OrganizationUsersKeysApiClient
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<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