Method to get the login uri

@return string
550492
public function getLoginUri()
    {
        $params = array(
            'response_type' => 'code',
            'client_id' => $this->_getClientId(),
            'redirect_uri' => $this->_getRedirectUri(),
            'scope' => $this->_getScope()
        );

        return $this->_getUri($this->_authEndPoint, $params);
    }
1230564
public function getRequestUri()
    {
        if ($this->requestUri === null) {
            $this->requestUri = $this->detectRequestUri();
        }
        return $this->requestUri;
    }
293406
public function login() : string {
		$token = bin2hex(random_bytes(64));
		$loginHash = password_hash($token, PASSWORD_BCRYPT);

		$stmt = $this->db->prepare(
			"INSERT INTO sessions (user_id, login_hash, api_hash) " .
			"VALUES (?, ?, NULL) " .
			"ON DUPLICATE KEY UPDATE login_hash=?;"
		);
		$stmt->bind_param("iss",
			$this->user->id, $loginHash, $loginHash);
		$stmt->execute();
		$this->db->commit();

		return $token;
	}
39742
public function getLogoutUrl()
    {
        $query = [];
        $query['appid'] = $this->getConfig()->getAppId();
        $query['token'] = $this->user->getLoginId();
        return $this->getConfig()->getBaseUrl() . "Login/LogOut.aspx?" . http_build_query($query, '', '&');
    }
460842
public function getUri()
    {
        if (empty($this->getConfig('email')) === true) {
            throw new \RuntimeException('No email specified.');
        }
        $uri = 'http://www.gravatar.com/avatar/' . md5(strtolower(trim($this->getConfig('email')))) . '.jpg';
        $args = http_build_query([
            's' => $this->getConfig('size'),
            'd' => $this->getConfig('defaultUri'),
        ]);
        if (empty($args) === false) {
            $uri .= '?' . $args;
        }
        return $uri;
    }
308651
public function getUri()
    {
        if ($this->uri) {
            return $this->uri;
        }

        $scheme = $this->getServerParam('HTTPS') ? 'https' : 'http';
        $user = $this->getServerParam('PHP_AUTH_USER');
        $password = $this->getServerParam('PHP_AUTH_PW');

        if ($http_host = $this->getServerParam('HTTP_HOST')) {
            if (false === strpos($http_host, ':')) {
                $host = $http_host;
                $port = 0;
            } else {
                list($host, $port) = explode(':', $http_host, 2);
                $port = intval($port);
            }
        } else {
            $host = $this->getServerParam('SERVER_NAME') ?: $this->getServerParam('SERVER_ADDR') ?: '127.0.0.1';
            $port = $this->getServerParam('SERVER_PORT');
        }

        $uri = (new Uri($this->getRequestTarget()))
            ->withScheme($scheme)
            ->withUserInfo($user, $password)
            ->withHost(strtolower($host));

        if ($port) {
            $uri = $uri->withPort($port);
        }

        return $uri;
    }
478638
public function getRequestUri()
    {
        if ($this->requestUri === null) {
            $this->requestUri = $this->getServer('REQUEST_URI');
        }
        return $this->requestUri;
    }
260692
public function getUri(){
		if (is_null($this->uri)){
			$this->uri = $this->makeUri();
		}

		return $this->uri;
	}
1366027
public function getBaseAuthorizationUrl()
    {
        $base = new Uri($this->authUrl);
        $path = new Uri('/authorization');
        return (string) UriResolver::resolve($base, $path);
        ;
    }
154246
protected function getHostFromUri()
    {
        $host = $this->uri->getHost();
        $host .= $this->uri->getPort() ? ':' . $this->uri->getPort() : '';

        return $host;
    }
782287
public function uri()
    {
        $uri = (!empty($this->url['scheme']) ? $this->url['scheme'] . '://' : Server::getInstance()->get('scheme', ''));
        $uri .= (!empty($this->url['user']) ? $this->url['user'] . ':' . $this->url['pass'] . '@' : '');
        $uri .= (!empty($this->url['host']) ? $this->url['host'] : Server::getInstance()->get('host', ''));
        $uri .= (!empty($this->url['port']) ? ':' . $this->url['port'] : '');
        $uri .= (!empty($this->url['path']) ? $this->url['path'] : '');
        $uri .= (!empty($this->url['query']) ? '?' . $this->url['query'] : '');
        $uri .= (!empty($this->url['fragment']) ? '#' . $this->url['fragment'] : '');

        return $uri;
    }
1118854
public function getUri()
    {
        if ( empty( $this->_uriCache ) )
        {
            $subdomainId = $this->getSubdomainId();
            $info = $this->getServiceLocator()
                         ->get( 'Zork\Db\SiteInfo' );

            if ( empty( $subdomainId ) )
            {
                $subdomainId = $info->getSubdomainId();
            }
            else if ( $subdomainId != $info->getSubdomainId() )
            {
                $subdomain = $this->getSubDomainModel()
                                  ->find( $subdomainId );

                if ( empty( $subdomain ) )
                {
                    $subdomainId = $info->getSubdomainId();
                }
            }

            if ( ! empty( $this->contentId ) )
            {
                $base   = '/';
                $locale = $this->getMapper()
                               ->getLocale();
                $uri    = $this->getUriModel()
                               ->findDefaultByContentSubdomain(
                                    $this->getContentId(),
                                    $subdomainId,
                                    $locale
                                );

                if ( ! empty( $subdomain ) )
                {
                    $base = $info->getSubdomainUrl(
                        (string) $subdomain->subdomain,
                        $base
                    );
                }

                if ( empty( $uri ) )
                {
                    $uri = $base . 'app/' . $locale .
                           '/paragraph/render/' . $this->getContentId();
                }
                else
                {
                    $uri = $base . ltrim( $uri->safeUri, '/' );
                    $this->_uriCache = $uri;
                }

                return $uri;
            }
        }

        return $this->_uriCache;
    }
115335
public function getLoginCheckPath()
    {
        $login_check = $this->app['request']->getBasePath();

        if (($firewall = $this->getFirewall($this->getCurrentPathRelativeToBase()))) {
            $login_check .= $firewall->getLoginCheckPath();
        }

        return $login_check;
    }
344903
protected function getRequestUri()
    {

        if (!$this->requestUri) {
            $this->requestUri = rtrim($this->endpointUri, '/') . '/' . $this->version;
        }

        return $this->requestUri;

    }
580361
public function getEntryUri()
    {
        $oContent = oxNew(\OxidEsales\Eshop\Application\Model\Content::class);
        if ($oContent->load($this->getEditObjectId())) {
            return $this->_getEncoder()->getContentUri($oContent, $this->getEditLang());
        }
    }
107894
public function getUri()
    {
        if (!$this->_uri instanceof UriInterface) {
            if ($this->_uri === null) {
                $uri = new Uri(['string' => $this->getAbsoluteUrl()]);
            } elseif ($this->_uri instanceof \Closure) {
                $uri = call_user_func($this->_uri, $this);
            } else {
                $uri = $this->_uri;
            }

            $this->_uri = Instance::ensure($uri, UriInterface::class);
        }
        return $this->_uri;
    }
800252
protected function _getHostFromUri()
    {
        $host  = $this->uri->getHost();
        $host .= $this->uri->getPort() ? ':' . $this->uri->getPort() : '';
        return $host;
    }