UNPKG

@kilterset/auth0-actions-testing

Version:

Test and develop Auth0 Actions or Okta CIC Actions locally.

23 lines 731 B
interface AccessTokenMock { build: <T>(api: T) => { addScope: (name: string) => T; removeScope: (name: string) => T; setCustomClaim: (name: string, value: unknown) => T; }; state: { scopes: string[]; claims: Record<string, unknown>; }; } interface CredentialsExchangeAccessTokenMock { build: <T>(api: T) => { setCustomClaim: (name: string, value: unknown) => T; }; state: { claims: Record<string, unknown>; }; } export declare function accessTokenMock(flow: "CredentialsExchange"): CredentialsExchangeAccessTokenMock; export declare function accessTokenMock(flow: string): AccessTokenMock; export {}; //# sourceMappingURL=access-token.d.ts.map