UNPKG

@kilterset/auth0-actions-testing

Version:

Test and develop Auth0 Actions or Okta CIC Actions locally.

23 lines (19 loc) 579 B
import { Cache } from "./cache"; export interface CredentialsExchange { /** * Modify the access, such as by rejecting the exchange attempt. */ readonly access: { /** * Mark the current exchange attempt as denied. This will prevent the initiating party from completing the exchange flow. */ deny(code: string, reason: string): CredentialsExchange; }; /** * Request changes to the access token being issued. */ readonly accessToken: { setCustomClaim(name: string, value: unknown): CredentialsExchange; }; readonly cache: Cache; }