src/main/js/oidc-connector.js
/**
     * Update configuration objects with given parameter object
     * @param config
     * @private
     */
Update configuration objects with given parameter object
@param config
@private
Update configuration objects with given parameter object @param config @private
function updateConfig( config ) {
        if ( !config.hasOwnProperty( 'client_id' ) ) {
            throw Error( `[${TAG}] doInit - missing required parameter client_id.` );
        }
        CONFIG.update( config );
        CLIENT_CONFIG.update( config );
        const allowedMethods = ['window', 'redirect', 'inline'];
        if ( allowedMethods.indexOf( CONFIG.method ) === -1 ) {
            throw Error( `[${TAG}] doInit - bad UI method. Use one of ${allowedMethods.toString()}.` );
        }
    }
function updateConfig ( config ) { if ( ! config . hasOwnProperty ( 'client_id' ) ) { throw Error ( ` ${ TAG } ` ) ; } CONFIG . update ( config ) ; CLIENT_CONFIG . update ( config ) ; const allowedMethods = [ 'window' , 'redirect' , 'inline' ] ; if ( allowedMethods . indexOf ( CONFIG . method ) === - 1 ) { throw Error ( ` ${ TAG } ${ allowedMethods . toString ( ) } ` ) ; } }
Update configuration objects with given parameter object
 @param config
 @private
Update configuration objects with given parameter object @param config @private