source: extensions/Google2Piwigo/include/OAuth2/GrantType/ClientCredentials.php @ 28832

Last change on this file since 28832 was 28832, checked in by mistic100, 10 years ago

fix oauth flow

File size: 593 bytes
Line 
1<?php
2
3require_once('IGrantType.php');
4
5/**
6 * Client Credentials Parameters
7 */
8class OAuth2_GrantType_ClientCredentials implements OAuth2_GrantType_IGrantType
9{
10    /**
11     * Defines the Grant Type
12     *
13     * @var string  Defaults to 'client_credentials'.
14     */
15    const GRANT_TYPE = 'client_credentials';
16
17    /**
18     * Adds a specific Handling of the parameters
19     *
20     * @return array of Specific parameters to be sent.
21     * @param  mixed  $parameters the parameters array (passed by reference)
22     */
23    public function validateParameters(&$parameters)
24    {
25    }
26}
Note: See TracBrowser for help on using the repository browser.