UNPKG

@clerk/backend

Version:

Clerk Backend SDK - REST Client for Backend API & JWT verification utilities

66 lines 2.37 kB
import type { AllowlistIdentifierType } from './Enums'; import type { AllowlistIdentifierJSON } from './JSON'; /** * The Backend `AllowlistIdentifier` object represents an identifier that has been added to the allowlist of your application. The Backend `AllowlistIdentifier` object is used in the [Backend API](https://clerk.com/docs/reference/backend-api/tag/Allow-list-Block-list#operation/ListAllowlistIdentifiers) and is not directly accessible from the Frontend API. */ export declare class AllowlistIdentifier { /** * A unique ID for the allowlist identifier. */ readonly id: string; /** * The [identifier](https://clerk.com/docs/authentication/configuration/sign-up-sign-in-options#identifiers) that was added to the allowlist. */ readonly identifier: string; /** * The type of the allowlist identifier. */ readonly identifierType: AllowlistIdentifierType; /** * The date when the allowlist identifier was first created. */ readonly createdAt: number; /** * The date when the allowlist identifier was last updated. */ readonly updatedAt: number; /** * The ID of the instance that this allowlist identifier belongs to. */ readonly instanceId?: string | undefined; /** * The ID of the invitation sent to the identifier. */ readonly invitationId?: string | undefined; constructor( /** * A unique ID for the allowlist identifier. */ id: string, /** * The [identifier](https://clerk.com/docs/authentication/configuration/sign-up-sign-in-options#identifiers) that was added to the allowlist. */ identifier: string, /** * The type of the allowlist identifier. */ identifierType: AllowlistIdentifierType, /** * The date when the allowlist identifier was first created. */ createdAt: number, /** * The date when the allowlist identifier was last updated. */ updatedAt: number, /** * The ID of the instance that this allowlist identifier belongs to. */ instanceId?: string | undefined, /** * The ID of the invitation sent to the identifier. */ invitationId?: string | undefined); static fromJSON(data: AllowlistIdentifierJSON): AllowlistIdentifier; } //# sourceMappingURL=AllowlistIdentifier.d.ts.map