src/main/js/helper/dom-helper.js
/**
     * Return an URL encoded query string from given object.
     * @param {OIDCConnect.Configuration} config
     * @return {string}
     */
Return an URL encoded query string from given object.
@param {OIDCConnect.Configuration} config
@return {string}
Return an URL encoded query string from given object . @param { OIDCConnect . Configuration } config @return { string }
static serializeConfigToURL( config ) {
        return Object.keys( config )
            .filter( key => { return config[key] !== '' && CONNECTOR_CONSTANTS.ALLOWED_PARAMS.indexOf( key ) > -1; } )
            .map( key => `${key}=${encodeURIComponent( config[key] )}` ).join( '&' );
    }
static serializeConfigToURL ( config ) { return Object . keys ( config ) . filter ( key => { return config [ key ] !== '' && CONNECTOR_CONSTANTS . ALLOWED_PARAMS . indexOf ( key ) > - 1 ; } ) . map ( key => ` ${ key } ${ encodeURIComponent ( config [ key ] ) } ` ) . join ( '&' ) ; }
Return an URL encoded query string from given object.
Return an URL encoded query string from given object .