ok
Direktori : /home2/selectio/www/3-idiots/vendor/league/oauth2-server/src/Grant/ |
Current File : /home2/selectio/www/3-idiots/vendor/league/oauth2-server/src/Grant/AbstractAuthorizeGrant.php |
<?php /** * Abstract authorization grant. * * @author Julián Gutiérrez <juliangut@gmail.com> * @copyright Copyright (c) Alex Bilbie * @license http://mit-license.org/ * * @link https://github.com/thephpleague/oauth2-server */ namespace League\OAuth2\Server\Grant; abstract class AbstractAuthorizeGrant extends AbstractGrant { /** * @param string $uri * @param array $params * @param string $queryDelimiter * * @return string */ public function makeRedirectUri($uri, $params = [], $queryDelimiter = '?') { $uri .= (\strstr($uri, $queryDelimiter) === false) ? $queryDelimiter : '&'; return $uri . \http_build_query($params); } }