@clerk/backend
Version:
Clerk Backend SDK - REST Client for Backend API & JWT verification utilities
42 lines • 2.09 kB
TypeScript
import { AccountlessApplicationAPI, ActorTokenAPI, AllowlistIdentifierAPI, APIKeysAPI, BetaFeaturesAPI, BlocklistIdentifierAPI, ClientAPI, DomainAPI, EmailAddressAPI, IdPOAuthAccessTokenApi, InstanceAPI, InvitationAPI, JwksAPI, JwtTemplatesApi, M2MTokenApi, MachineApi, OAuthApplicationsApi, OrganizationAPI, PhoneNumberAPI, ProxyCheckAPI, RedirectUrlAPI, SamlConnectionAPI, SessionAPI, SignInTokenAPI, SignUpAPI, TestingTokenAPI, UserAPI, WaitlistEntryAPI, WebhookAPI } from './endpoints';
import { BillingAPI } from './endpoints/BillingApi';
import { buildRequest } from './request';
export type CreateBackendApiOptions = Parameters<typeof buildRequest>[0];
export type ApiClient = ReturnType<typeof createBackendApiClient>;
export declare function createBackendApiClient(options: CreateBackendApiOptions): {
__experimental_accountlessApplications: AccountlessApplicationAPI;
actorTokens: ActorTokenAPI;
allowlistIdentifiers: AllowlistIdentifierAPI;
apiKeys: APIKeysAPI;
betaFeatures: BetaFeaturesAPI;
blocklistIdentifiers: BlocklistIdentifierAPI;
/**
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
* It is advised to pin the SDK version to avoid breaking changes.
*/
billing: BillingAPI;
clients: ClientAPI;
domains: DomainAPI;
emailAddresses: EmailAddressAPI;
idPOAuthAccessToken: IdPOAuthAccessTokenApi;
instance: InstanceAPI;
invitations: InvitationAPI;
jwks: JwksAPI;
jwtTemplates: JwtTemplatesApi;
machines: MachineApi;
m2m: M2MTokenApi;
oauthApplications: OAuthApplicationsApi;
organizations: OrganizationAPI;
phoneNumbers: PhoneNumberAPI;
proxyChecks: ProxyCheckAPI;
redirectUrls: RedirectUrlAPI;
samlConnections: SamlConnectionAPI;
sessions: SessionAPI;
signInTokens: SignInTokenAPI;
signUps: SignUpAPI;
testingTokens: TestingTokenAPI;
users: UserAPI;
waitlistEntries: WaitlistEntryAPI;
webhooks: WebhookAPI;
};
//# sourceMappingURL=factory.d.ts.map