test/oic_op/config_server/static/op_config.js
/**
     * Checks if the user har entered the required client id and client secret
     * @returns {boolean} - Returns true if client id and client secret input fields are not empty else false
     */
Checks if the user har entered the required client id and client secret
@returns {boolean} - Returns true if client id and client secret input fields are not empty else false
Checks if the user har entered the required client id and client secret @returns { boolean } - Returns true if client id and client secret input fields are not empty else false
function hasEnteredClientIdAndClientSecret() {
        clientId = $scope.opConfig['supportsStaticClientRegistrationTextFields'][1]['textFieldContent']
        clientSecret = $scope.opConfig['supportsStaticClientRegistrationTextFields'][2]['textFieldContent']
        if (clientId == "")
            return false;
        else if (clientSecret == "")
            return false;
        return true
    }
function hasEnteredClientIdAndClientSecret ( ) { clientId = $scope . opConfig [ 'supportsStaticClientRegistrationTextFields' ] [ 1 ] [ 'textFieldContent' ] clientSecret = $scope . opConfig [ 'supportsStaticClientRegistrationTextFields' ] [ 2 ] [ 'textFieldContent' ] if ( clientId == "" ) return false ; else if ( clientSecret == "" ) return false ; return true }
Checks if the user har entered the required client id and client secret
 @returns {boolean} - Returns true if client id and client secret input fields are not empty else false
Checks if the user har entered the required client id and client secret @returns { boolean } - Returns true if client id and client secret input fields are not empty else false