public static function accessKey()

in src/Utils/Filter.php [152:169]


    public static function accessKey($accessKeyId, $accessKeySecret)
    {
        if (!is_string($accessKeyId)) {
            throw new InvalidArgumentException('accessKeyId must be a string');
        }

        if ($accessKeyId === '') {
            throw new InvalidArgumentException('accessKeyId cannot be empty');
        }

        if (!is_string($accessKeySecret)) {
            throw new InvalidArgumentException('accessKeySecret must be a string');
        }

        if ($accessKeySecret === '') {
            throw new InvalidArgumentException('accessKeySecret cannot be empty');
        }
    }