0byt3m1n1
Path:
/
home
/
mgatv524
/
giga.mgaplay.com.br
/
vendor
/
league
/
oauth2-server
/
src
/
Grant
/
[
Home
]
File: 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); } }