@kilterset/auth0-actions-testing
Version:
Test and develop Auth0 Actions or Okta CIC Actions locally.
28 lines • 1.07 kB
TypeScript
declare const SCOPES: readonly ["openid", "profile", "email", "offline_access", "phone"];
declare const RESPONSE_TYPES: readonly ["code", "token", "id_token", "none", "code id_token", "token id_token", "code token", "code id_token token"];
declare global {
namespace Chance {
interface Chance {
oAuth(): {
scopes: (options?: {
length: number;
} | {
min?: number;
max: number;
}) => (typeof SCOPES)[number][];
responseType: () => (typeof RESPONSE_TYPES)[number][];
};
}
}
}
export declare const oAuth: (chance: Chance.Chance) => {
scopes: (options?: {
length: number;
} | {
min?: number;
max: number;
}) => ("openid" | "profile" | "email" | "offline_access" | "phone")[];
responseType: () => "code" | "token" | "id_token" | "none" | "code id_token" | "token id_token" | "code token" | "code id_token token";
};
export {};
//# sourceMappingURL=oauth.d.ts.map