concrete/src/Entity/OAuth/Client.php
public function setConsentType($consentType)
    {
        if ($consentType !== self::CONSENT_SIMPLE &&
            $consentType !== self::CONSENT_NONE) {
            throw new InvalidArgumentException('Invalid consent type provided.');
        }

        $this->consentType = $consentType;
    }
public function setConsentType($consentType)
    {
        if ($consentType !== self::CONSENT_SIMPLE &&
            $consentType !== self::CONSENT_NONE) {
            throw new InvalidArgumentException('Invalid consent type provided.');
        }

        $this->consentType = $consentType;
    }
public function setConsentType ( $ consentType ) { if ( $ consentType !== self :: CONSENT_SIMPLE && $ consentType !== self :: CONSENT_NONE ) { throw new InvalidArgumentException ( 'Invalid consent type provided.' ) ; } $ this -> consentType = $ consentType ; }
Set the level of consent this client must receive from the authenticating user

@param int $consentType Client::CONSENT_SIMPLE | Client::CONSENT_NONE
Set the level of consent this client must receive from the authenticating user