Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/mautic.corals.io/vendor/friendsofsymfony/oauth2-php/lib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/mautic.corals.io/vendor/friendsofsymfony/oauth2-php/lib/IOAuth2GrantExtension.php
<?php

namespace OAuth2;

use OAuth2\Model\IOAuth2Client;

/**
 * Storage engines that support the "Extensible"
 * grant types should implement this interface
 *
 * @author Dave Rochwerger <[email protected]>
 *
 *
 * @see    http://tools.ietf.org/html/draft-ietf-oauth-v2-20#section-4.5
 */
interface IOAuth2GrantExtension extends IOAuth2Storage
{
    /**
     * Check any extended grant types.
     *
     * @param IOAuth2Client $client
     * @param string        $uri         URI of the grant type definition
     * @param array         $inputData   Unfiltered input data. The source is *not* guaranteed to be POST (but is likely to be).
     * @param array         $authHeaders Authorization headers
     *
     * @return bool|array Returns false if the authorization is rejected or not support. Returns true or an associative array if you
     * want to verify the scope:
     * @code
     * return array(
     * 'scope' => <stored scope values (space-separated string)>,
     * );
     * @endcode
     *
     * @see http://tools.ietf.org/html/draft-ietf-oauth-v2-20#section-1.4.5
     * @see http://tools.ietf.org/html/draft-ietf-oauth-v2-20#section-4.2
     */
    public function checkGrantExtension(IOAuth2Client $client, $uri, array $inputData, array $authHeaders);
}

Spamworldpro Mini