@kilterset/auth0-actions-testing
Version:
Test and develop Auth0 Actions or Okta CIC Actions locally.
23 lines • 620 B
TypeScript
import Auth0 from "../../types";
export interface CredentialsExchangeOptions {
cache?: Record<string, string>;
}
export interface CredentialsExchangeState {
access: {
denied: false;
} | {
denied: {
code: string;
reason: string;
};
};
accessToken: {
claims: Record<string, unknown>;
};
cache: Auth0.API.Cache;
}
export declare function credentialsExchange({ cache, }?: CredentialsExchangeOptions): {
implementation: Auth0.CredentialsExchange;
state: CredentialsExchangeState;
};
//# sourceMappingURL=credentials-exchange.d.ts.map