Function interceptor


  • Parameters

    Returns void

    interceptor - Sets up the Token Vault Intercept to intercept configured fetch requests and send them to the Token Vault Proxy for adding the access token to the request.

    interceptor({
    forgerock: {
    serverConfig: {
    baseUrl: 'https://openam.forgerock.com/am',
    },
    },
    interceptor: {
    urls: ['https://example.com/path', 'https://alt.example.com/*'],
    },
    });