• Parameters

    • config: ClientConfig

      The configuration object for the client

    Returns ClientInit

    client - Initialize the Token Vault Client

    const register = client({
    app: {
    origin: 'http://app.example.com',
    url: 'http://app.example.com/path',
    },
    forgerock: {
    serverConfig: {
    baseUrl: 'https://openam.forgerock.com/am',
    }]
    },
    interceptor: {
    file: 'http://app.example.com/path/interceptor.js',
    scope: '/',
    },
    proxy: {
    origin: 'http://proxy.example.com',
    url: 'http://proxy.example.com/path',
    },
    });