pub struct ClerkFapiClient { /* private fields */ }Expand description
The main client for interacting with Clerk’s Frontend API
Implementations§
Source§impl ClerkFapiClient
impl ClerkFapiClient
Sourcepub fn new(
config: ClerkFapiConfiguration,
state: Arc<RwLock<ClerkState>>,
) -> Result<Self, String>
pub fn new( config: ClerkFapiConfiguration, state: Arc<RwLock<ClerkState>>, ) -> Result<Self, String>
Creates a new ClerkFapiClient with the provided configuration
pub fn set_dev_browser_token_id(&self, token_id: String)
pub async fn get_sessions( &self, clerk_session_id: Option<&str>, ) -> Result<Vec<ClientActiveSession>, Error<GetSessionsError>>
pub async fn get_users_sessions( &self, clerk_session_id: Option<&str>, ) -> Result<Vec<ClientSession>, Error<GetUsersSessionsError>>
pub async fn revoke_session( &self, session_id: &str, clerk_session_id: Option<&str>, ) -> Result<ClientSession, Error<RevokeSessionError>>
pub async fn create_backup_codes( &self, ) -> Result<BackupCodes, Error<CreateBackupCodesError>>
pub async fn delete_client_sessions( &self, ) -> Result<ClientDeleteSession, Error<DeleteClientSessionsError>>
pub async fn get_client( &self, ) -> Result<Option<ClientClient>, Error<GetClientError>>
pub async fn handshake_client( &self, clerk_proxy_url: Option<&str>, clerk_secret_key: Option<&str>, redirect_url: Option<&str>, format: Option<&str>, organization_id: Option<&str>, satellite_fapi: Option<&str>, ) -> Result<(), Error<HandshakeClientError>>
pub async fn post_client( &self, ) -> Result<Option<ClientClient>, Error<PostClientError>>
pub async fn put_client( &self, ) -> Result<Option<ClientClient>, Error<PutClientError>>
pub async fn clear_site_data(&self) -> Result<(), Error<ClearSiteDataError>>
pub async fn get_account_portal( &self, ) -> Result<ClientAccountPortal, Error<GetAccountPortalError>>
pub async fn get_dev_browser_init( &self, origin: Option<&str>, ) -> Result<(), Error<GetDevBrowserInitError>>
pub async fn get_proxy_health( &self, domain_id: &str, clerk_proxy_url: &str, clerk_secret_key: &str, x_forwarded_for: &str, ) -> Result<GetProxyHealth200Response, Error<GetProxyHealthError>>
pub async fn link_client( &self, clerk_token: Option<&str>, ) -> Result<(), Error<LinkClientError>>
pub async fn sync_client( &self, link_domain: Option<&str>, redirect_url: Option<&str>, ) -> Result<(), Error<SyncClientError>>
pub async fn create_dev_browser( &self, ) -> Result<DevBrowser, Error<CreateDevBrowserError>>
pub async fn attempt_organization_domain_verification( &self, organization_id: &str, domain_id: &str, code: &str, ) -> Result<ClientOrganizationDomain, Error<AttemptOrganizationDomainVerificationError>>
pub async fn create_organization_domain( &self, organization_id: &str, name: &str, ) -> Result<ClientOrganizationDomain, Error<CreateOrganizationDomainError>>
pub async fn delete_organization_domain( &self, organization_id: &str, domain_id: &str, ) -> Result<ClientDeletedObject, Error<DeleteOrganizationDomainError>>
pub async fn get_organization_domain( &self, organization_id: &str, domain_id: &str, ) -> Result<ClientOrganizationDomain, Error<GetOrganizationDomainError>>
pub async fn list_organization_domains( &self, organization_id: &str, limit: Option<i64>, offset: Option<i64>, verified: Option<bool>, enrollment_mode: Option<&str>, ) -> Result<ClientClientWrappedOrganizationDomainsResponse, Error<ListOrganizationDomainsError>>
pub async fn prepare_organization_domain_verification( &self, organization_id: &str, domain_id: &str, affiliation_email_address: &str, ) -> Result<ClientOrganizationDomain, Error<PrepareOrganizationDomainVerificationError>>
pub async fn update_organization_domain_enrollment_mode( &self, organization_id: &str, domain_id: &str, enrollment_mode: &str, delete_pending: Option<bool>, ) -> Result<ClientOrganizationDomain, Error<UpdateOrganizationDomainEnrollmentModeError>>
pub async fn create_email_addresses( &self, email_address: &str, _clerk_session_id: Option<&str>, ) -> Result<ClientEmailAddress, Error<CreateEmailAddressesError>>
pub async fn delete_email_address( &self, email_id: &str, clerk_session_id: Option<&str>, ) -> Result<ClientDeletedObject, Error<DeleteEmailAddressError>>
pub async fn get_email_address( &self, email_id: &str, clerk_session_id: Option<&str>, ) -> Result<ClientEmailAddress, Error<GetEmailAddressError>>
pub async fn get_email_addresses( &self, clerk_session_id: Option<&str>, ) -> Result<Vec<ClientEmailAddress>, Error<GetEmailAddressesError>>
pub async fn send_verification_email( &self, email_id: &str, strategy: &str, _clerk_session_id: Option<&str>, redirect_url: Option<&str>, action_complete_redirect_url: Option<&str>, ) -> Result<ClientEmailAddress, Error<SendVerificationEmailError>>
pub async fn verify_email_address( &self, email_id: &str, code: &str, _clerk_session_id: Option<&str>, ) -> Result<ClientEmailAddress, Error<VerifyEmailAddressError>>
pub async fn get_environment( &self, ) -> Result<ClientEnvironment, Error<GetEnvironmentError>>
pub async fn update_environment( &self, origin: &str, ) -> Result<ClientEnvironment, Error<UpdateEnvironmentError>>
pub async fn delete_external_account( &self, external_account_id: &str, ) -> Result<ClientDeletedObject, Error<DeleteExternalAccountError>>
pub async fn post_o_auth_accounts( &self, strategy: &str, origin: Option<&str>, redirect_url: Option<&str>, action_complete_redirect_url: Option<&str>, additional_scope: Option<&str>, code: Option<&str>, token: Option<&str>, oidc_login_hint: Option<&str>, oidc_prompt: Option<&str>, ) -> Result<ExternalAccountWithVerification, Error<PostOAuthAccountsError>>
pub async fn revoke_external_account_tokens( &self, external_account_id: &str, ) -> Result<ClientUser, Error<RevokeExternalAccountTokensError>>
pub async fn get_health( &self, ) -> Result<GetHealth200Response, Error<GetHealthError>>
pub async fn bulk_create_organization_invitations( &self, organization_id: &str, email_address: Vec<String>, role: &str, ) -> Result<Vec<ClientOrganizationInvitation>, Error<BulkCreateOrganizationInvitationsError>>
pub async fn create_organization_invitations( &self, organization_id: &str, email_address: &str, role: &str, ) -> Result<ClientOrganizationInvitation, Error<CreateOrganizationInvitationsError>>
pub async fn get_all_pending_organization_invitations( &self, organization_id: &str, ) -> Result<Vec<ClientOrganizationInvitation>, Error<GetAllPendingOrganizationInvitationsError>>
pub async fn get_organization_invitations( &self, organization_id: &str, limit: Option<i64>, offset: Option<i64>, status: Option<&str>, ) -> Result<Vec<ClientOrganizationInvitation>, Error<GetOrganizationInvitationsError>>
pub async fn revoke_pending_organization_invitation( &self, organization_id: &str, invitation_id: &str, ) -> Result<ClientOrganizationInvitation, Error<RevokePendingOrganizationInvitationError>>
pub async fn create_organization_membership( &self, organization_id: &str, user_id: Option<&str>, role: Option<&str>, ) -> Result<ClientOrganizationMembership, Error<CreateOrganizationMembershipError>>
pub async fn list_organization_memberships( &self, organization_id: &str, limit: Option<i64>, offset: Option<i64>, paginated: Option<bool>, query: Option<&str>, role: Option<&str>, ) -> Result<Vec<ClientOrganizationMembership>, Error<ListOrganizationMembershipsError>>
pub async fn remove_organization_member( &self, organization_id: &str, user_id: &str, ) -> Result<ClientOrganizationMembership, Error<RemoveOrganizationMemberError>>
pub async fn update_organization_membership( &self, organization_id: &str, user_id: &str, role: Option<&str>, ) -> Result<ClientOrganizationMembership, Error<UpdateOrganizationMembershipError>>
pub async fn accept_organization_membership_request( &self, organization_id: &str, request_id: &str, ) -> Result<ClientOrganizationMembershipRequest, Error<AcceptOrganizationMembershipRequestError>>
pub async fn list_organization_membership_requests( &self, organization_id: &str, limit: Option<i64>, offset: Option<i64>, status: Option<&str>, ) -> Result<ClientClientWrappedOrganizationMembershipRequestsResponse, Error<ListOrganizationMembershipRequestsError>>
pub async fn reject_organization_membership_request( &self, organization_id: &str, request_id: &str, ) -> Result<ClientOrganizationMembershipRequest, Error<RejectOrganizationMembershipRequestError>>
pub async fn get_oauth_callback( &self, scope: Option<&str>, code: Option<&str>, state: Option<&str>, error: Option<&str>, ) -> Result<(), Error<GetOauthCallbackError>>
pub async fn post_oauth_callback( &self, code: Option<&str>, scope: Option<&str>, state: Option<&str>, error: Option<&str>, ) -> Result<(), Error<PostOauthCallbackError>>
pub async fn get_o_auth_consent( configuration: &Configuration, client_id: &str, _clerk_session_id: Option<&str>, ) -> Result<OAuthConsentInfo, Error<GetOAuthConsentError>>
pub async fn get_o_auth_token( &self, ) -> Result<OAuthToken, Error<GetOAuthTokenError>>
pub async fn get_o_auth_token_info( &self, token: &str, token_type_hint: Option<&str>, scope: Option<&str>, ) -> Result<OAuthTokenInfo, Error<GetOAuthTokenInfoError>>
pub async fn get_o_auth_user_info( &self, ) -> Result<OAuthUserInfo, Error<GetOAuthUserInfoError>>
pub async fn get_o_auth_user_info_post( &self, ) -> Result<OAuthUserInfo, Error<GetOAuthUserInfoPostError>>
pub async fn revoke_o_auth_token( &self, token: Option<&str>, token_type_hint: Option<&str>, ) -> Result<(), Error<RevokeOAuthTokenError>>
pub async fn create_organization( &self, name: Option<&str>, ) -> Result<ClientOrganization, Error<CreateOrganizationError>>
pub async fn delete_organization( &self, organization_id: &str, ) -> Result<ClientDeletedObject, Error<DeleteOrganizationError>>
pub async fn delete_organization_logo( &self, organization_id: &str, ) -> Result<ClientDeletedObject, Error<DeleteOrganizationLogoError>>
pub async fn get_organization( &self, organization_id: &str, ) -> Result<ClientOrganization, Error<GetOrganizationError>>
pub async fn update_organization( &self, organization_id: &str, name: Option<&str>, slug: Option<&str>, ) -> Result<ClientOrganization, Error<UpdateOrganizationError>>
pub async fn update_organization_logo( &self, organization_id: &str, file: FileData, ) -> Result<ClientOrganization, Error<UpdateOrganizationLogoError>>
pub async fn accept_organization_invitation( &self, invitation_id: &str, ) -> Result<ClientOrganizationInvitationUserContext, Error<AcceptOrganizationInvitationError>>
pub async fn accept_organization_suggestion( &self, suggestion_id: &str, ) -> Result<ClientOrganizationSuggestion, Error<AcceptOrganizationSuggestionError>>
pub async fn delete_organization_memberships( &self, organization_id: &str, ) -> Result<ClientDeletedObject, Error<DeleteOrganizationMembershipsError>>
pub async fn get_organization_memberships( &self, limit: Option<i64>, offset: Option<i64>, paginated: Option<bool>, ) -> Result<Vec<ClientOrganizationMembership>, Error<GetOrganizationMembershipsError>>
pub async fn get_organization_suggestions( &self, limit: Option<i64>, offset: Option<i64>, status: Option<&str>, ) -> Result<ClientClientWrappedOrganizationSuggestionsResponse, Error<GetOrganizationSuggestionsError>>
pub async fn get_users_organization_invitations( &self, limit: Option<i64>, offset: Option<i64>, status: Option<&str>, ) -> Result<ClientClientWrappedOrganizationInvitationsUserContextResponse, Error<GetUsersOrganizationInvitationsError>>
pub async fn attempt_passkey_verification( &self, passkey_id: &str, origin: Option<&str>, strategy: Option<&str>, public_key_credential: Option<&str>, ) -> Result<ClientPasskey, Error<AttemptPasskeyVerificationError>>
pub async fn delete_passkey( &self, passkey_id: &str, ) -> Result<ClientDeletedObject, Error<DeletePasskeyError>>
pub async fn patch_passkey( &self, passkey_id: &str, name: Option<&str>, ) -> Result<ClientPasskey, Error<PatchPasskeyError>>
pub async fn post_passkey( &self, _clerk_session_id: Option<&str>, origin: Option<&str>, x_original_host: Option<&str>, ) -> Result<ClientPasskey, Error<PostPasskeyError>>
pub async fn read_passkey( &self, passkey_id: &str, ) -> Result<ClientPasskey, Error<ReadPasskeyError>>
pub async fn delete_phone_number( &self, phone_number_id: &str, clerk_session_id: Option<&str>, ) -> Result<ClientDeletedObject, Error<DeletePhoneNumberError>>
pub async fn get_phone_numbers( &self, clerk_session_id: Option<&str>, ) -> Result<Vec<ClientPhoneNumber>, Error<GetPhoneNumbersError>>
pub async fn post_phone_numbers( &self, phone_number: &str, _clerk_session_id: Option<&str>, reserved_for_second_factor: Option<bool>, ) -> Result<ClientPhoneNumber, Error<PostPhoneNumbersError>>
pub async fn read_phone_number( &self, phone_number_id: &str, clerk_session_id: Option<&str>, ) -> Result<ClientPhoneNumber, Error<ReadPhoneNumberError>>
pub async fn send_verification_sms( &self, phone_number_id: &str, strategy: &str, _clerk_session_id: Option<&str>, ) -> Result<ClientPhoneNumber, Error<SendVerificationSmsError>>
pub async fn update_phone_number( &self, phone_number_id: &str, clerk_session_id: Option<&str>, reserved_for_second_factor: Option<bool>, default_second_factor: Option<bool>, ) -> Result<ClientPhoneNumber, Error<UpdatePhoneNumberError>>
pub async fn verify_phone_number( &self, phone_number_id: &str, code: &str, _clerk_session_id: Option<&str>, ) -> Result<ClientPhoneNumber, Error<VerifyPhoneNumberError>>
pub async fn redirect_to_url( &self, redirect_url: Option<&str>, ) -> Result<(), Error<RedirectToUrlError>>
pub async fn list_organization_roles( &self, organization_id: &str, limit: Option<i64>, offset: Option<i64>, ) -> Result<ClientClientWrappedRolesResponse, Error<ListOrganizationRolesError>>
pub async fn acs(&self, saml_connection_id: &str) -> Result<(), Error<AcsError>>
pub async fn saml_metadata( &self, saml_connection_id: &str, ) -> Result<(), Error<SamlMetadataError>>
pub async fn attempt_session_reverification_first_factor( &self, session_id: &str, strategy: &str, origin: Option<&str>, code: Option<&str>, password: Option<&str>, public_key_credential: Option<&str>, ) -> Result<ClientSessionReverification, Error<AttemptSessionReverificationFirstFactorError>>
pub async fn attempt_session_reverification_second_factor( &self, session_id: &str, strategy: Option<&str>, code: Option<&str>, ) -> Result<ClientSessionReverification, Error<AttemptSessionReverificationSecondFactorError>>
pub async fn create_session_token( &self, session_id: &str, organization_id: Option<&str>, ) -> Result<CreateSessionToken200Response, Error<CreateSessionTokenError>>
pub async fn create_session_token_with_template( &self, session_id: &str, template_name: &str, ) -> Result<CreateSessionToken200Response, Error<CreateSessionTokenWithTemplateError>>
pub async fn end_session( &self, session_id: &str, ) -> Result<ClientSession, Error<EndSessionError>>
pub async fn get_session( &self, session_id: &str, ) -> Result<ClientSession, Error<GetSessionError>>
pub async fn prepare_session_reverification_first_factor( &self, session_id: &str, origin: Option<&str>, strategy: Option<&str>, email_address_id: Option<&str>, phone_number_id: Option<&str>, ) -> Result<ClientSessionReverification, Error<PrepareSessionReverificationFirstFactorError>>
pub async fn prepare_session_reverification_second_factor( &self, session_id: &str, strategy: Option<&str>, phone_number_id: Option<&str>, ) -> Result<ClientSessionReverification, Error<PrepareSessionReverificationSecondFactorError>>
pub async fn remove_session( &self, session_id: &str, ) -> Result<ClientSession, Error<RemoveSessionError>>
pub async fn start_session_reverification( &self, session_id: &str, level: &str, ) -> Result<ClientSessionReverification, Error<StartSessionReverificationError>>
pub async fn touch_session( &self, session_id: &str, active_organization_id: Option<&str>, ) -> Result<ClientSession, Error<TouchSessionError>>
pub async fn accept_ticket( &self, ticket: &str, ) -> Result<(), Error<AcceptTicketError>>
pub async fn attempt_sign_in_factor_one( &self, sign_in_id: &str, strategy: &str, origin: Option<&str>, code: Option<&str>, password: Option<&str>, signature: Option<&str>, token: Option<&str>, ticket: Option<&str>, public_key_credential: Option<&str>, ) -> Result<ClientSignIn, Error<AttemptSignInFactorOneError>>
pub async fn attempt_sign_in_factor_two( &self, sign_in_id: &str, strategy: Option<&str>, code: Option<&str>, ) -> Result<ClientSignIn, Error<AttemptSignInFactorTwoError>>
pub async fn create_sign_in( &self, origin: Option<&str>, strategy: Option<&str>, identifier: Option<&str>, password: Option<&str>, ticket: Option<&str>, redirect_url: Option<&str>, action_complete_redirect_url: Option<&str>, transfer: Option<bool>, code: Option<&str>, token: Option<&str>, oidc_login_hint: Option<&str>, oidc_prompt: Option<&str>, ) -> Result<ClientSignIn, Error<CreateSignInError>>
pub async fn get_sign_in( &self, sign_in_id: &str, ) -> Result<ClientSignIn, Error<GetSignInError>>
pub async fn prepare_sign_in_factor_one( &self, sign_in_id: &str, strategy: &str, origin: Option<&str>, email_address_id: Option<&str>, phone_number_id: Option<&str>, web3_wallet_id: Option<&str>, passkey_id: Option<&str>, redirect_url: Option<&str>, action_complete_redirect_url: Option<&str>, oidc_login_hint: Option<&str>, oidc_prompt: Option<&str>, ) -> Result<ClientSignIn, Error<PrepareSignInFactorOneError>>
pub async fn prepare_sign_in_factor_two( &self, sign_in_id: &str, strategy: Option<&str>, phone_number_id: Option<&str>, ) -> Result<ClientSignIn, Error<PrepareSignInFactorTwoError>>
pub async fn reset_password( &self, sign_in_id: &str, password: &str, sign_out_of_other_sessions: Option<bool>, ) -> Result<ClientSignIn, Error<ResetPasswordError>>
pub async fn verify(&self, token: &str) -> Result<(), Error<VerifyError>>
pub async fn attempt_sign_ups_verification( &self, sign_up_id: &str, origin: Option<&str>, strategy: Option<&str>, code: Option<&str>, signature: Option<&str>, token: Option<&str>, ) -> Result<ClientSignUp, Error<AttemptSignUpsVerificationError>>
pub async fn create_sign_ups( &self, origin: Option<&str>, transfer: Option<bool>, password: Option<&str>, first_name: Option<&str>, last_name: Option<&str>, username: Option<&str>, email_address: Option<&str>, phone_number: Option<&str>, email_address_or_phone_number: Option<&str>, unsafe_metadata: Option<&str>, strategy: Option<&str>, action_complete_redirect_url: Option<&str>, redirect_url: Option<&str>, ticket: Option<&str>, web3_wallet: Option<&str>, token: Option<&str>, code: Option<&str>, captcha_token: Option<&str>, captcha_error: Option<&str>, captcha_widget_type: Option<&str>, legal_accepted: Option<bool>, oidc_login_hint: Option<&str>, oidc_prompt: Option<&str>, ) -> Result<ClientSignUp, Error<CreateSignUpsError>>
pub async fn get_sign_ups( &self, sign_up_id: &str, ) -> Result<ClientSignUp, Error<GetSignUpsError>>
pub async fn prepare_sign_ups_verification( &self, sign_up_id: &str, origin: Option<&str>, strategy: Option<&str>, redirect_url: Option<&str>, action_complete_redirect_url: Option<&str>, oidc_login_hint: Option<&str>, oidc_prompt: Option<&str>, ) -> Result<ClientSignUp, Error<PrepareSignUpsVerificationError>>
pub async fn update_sign_ups( &self, sign_up_id: &str, origin: Option<&str>, password: Option<&str>, first_name: Option<&str>, last_name: Option<&str>, username: Option<&str>, email_address: Option<&str>, phone_number: Option<&str>, email_address_or_phone_number: Option<&str>, unsafe_metadata: Option<&str>, strategy: Option<&str>, redirect_url: Option<&str>, action_complete_redirect_url: Option<&str>, ticket: Option<&str>, web3_wallet: Option<&str>, token: Option<&str>, code: Option<&str>, legal_accepted: Option<bool>, oidc_login_hint: Option<&str>, oidc_prompt: Option<&str>, ) -> Result<ClientSignUp, Error<UpdateSignUpsError>>
pub async fn delete_totp( &self, ) -> Result<ClientDeletedObject, Error<DeleteTotpError>>
pub async fn post_totp(&self) -> Result<Totp, Error<PostTotpError>>
pub async fn verify_totp( &self, code: Option<&str>, ) -> Result<Totp, Error<VerifyTotpError>>
pub async fn change_password( &self, current_password: Option<&str>, new_password: Option<&str>, sign_out_of_other_sessions: Option<bool>, ) -> Result<ClientUser, Error<ChangePasswordError>>
pub async fn create_service_token( &self, service: &str, _clerk_session_id: Option<&str>, ) -> Result<Token, Error<CreateServiceTokenError>>
pub async fn delete_profile_image( &self, ) -> Result<ClientDeletedObject, Error<DeleteProfileImageError>>
pub async fn delete_user( &self, ) -> Result<ClientDeletedObject, Error<DeleteUserError>>
pub async fn get_user(&self) -> Result<ClientUser, Error<GetUserError>>
pub async fn patch_user( &self, username: Option<&str>, first_name: Option<&str>, last_name: Option<&str>, primary_email_address_id: Option<&str>, primary_phone_number_id: Option<&str>, primary_web3_wallet_id: Option<&str>, unsafe_metadata: Option<&str>, ) -> Result<ClientUser, Error<PatchUserError>>
pub async fn remove_password( &self, current_password: Option<&str>, ) -> Result<ClientUser, Error<RemovePasswordError>>
Sourcepub async fn update_profile_image(
&self,
file: FileData,
) -> Result<Image, Error<UpdateProfileImageError>>
pub async fn update_profile_image( &self, file: FileData, ) -> Result<Image, Error<UpdateProfileImageError>>
Does not work, file upload not implemented yet
pub async fn join_waitlist( &self, email_address: &str, ) -> Result<ClientWaitlistEntry, Error<JoinWaitlistError>>
pub async fn attempt_web3_wallet_verification( &self, web3_wallet_id: &str, signature: &str, origin: Option<&str>, ) -> Result<ClientWeb3Wallet, Error<AttemptWeb3WalletVerificationError>>
pub async fn delete_web3_wallet( &self, web3_wallet_id: &str, ) -> Result<ClientDeletedObject, Error<DeleteWeb3WalletError>>
pub async fn get_web3_wallets( &self, clerk_session_id: Option<&str>, ) -> Result<Vec<ClientWeb3Wallet>, Error<GetWeb3WalletsError>>
pub async fn post_web3_wallets( &self, web3_wallet: &str, _clerk_session_id: Option<&str>, ) -> Result<ClientWeb3Wallet, Error<PostWeb3WalletsError>>
pub async fn prepare_web3_wallet_verification( &self, web3_wallet_id: &str, strategy: &str, origin: Option<&str>, redirect_url: Option<&str>, ) -> Result<ClientWeb3Wallet, Error<PrepareWeb3WalletVerificationError>>
pub async fn read_web3_wallet( &self, web3_wallet_id: &str, ) -> Result<ClientWeb3Wallet, Error<ReadWeb3WalletError>>
pub async fn get_android_asset_links( &self, ) -> Result<Vec<Value>, Error<GetAndroidAssetLinksError>>
pub async fn get_apple_app_site_association( &self, ) -> Result<WellKnownAppleAppSiteAssociation, Error<GetAppleAppSiteAssociationError>>
pub async fn get_jwks(&self) -> Result<Jwks, Error<GetJwksError>>
pub async fn get_open_id_configuration( &self, ) -> Result<WellKnownOpenIdConfiguration, Error<GetOpenIdConfigurationError>>
Trait Implementations§
Source§impl Clone for ClerkFapiClient
impl Clone for ClerkFapiClient
Source§fn clone(&self) -> ClerkFapiClient
fn clone(&self) -> ClerkFapiClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ClerkFapiClient
impl !RefUnwindSafe for ClerkFapiClient
impl Send for ClerkFapiClient
impl Sync for ClerkFapiClient
impl Unpin for ClerkFapiClient
impl !UnwindSafe for ClerkFapiClient
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