File tree Expand file tree Collapse file tree 6 files changed +15
-15
lines changed
Expand file tree Collapse file tree 6 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 2424 * @author Anis Berejeb <anis.berejeb@gmail.com>
2525 * @version 1.3.1
2626 */
27- namespace OAuth2 ;
27+ namespace Adoy \ OAuth2 ;
2828
2929class Client
3030{
Original file line number Diff line number Diff line change 11<?php
2- namespace OAuth2 \GrantType ;
2+ namespace Adoy \ OAuth2 \GrantType ;
33
4- use OAuth2 \InvalidArgumentException ;
4+ use Adoy \ OAuth2 \InvalidArgumentException ;
55
66/**
77 * Authorization code Grant Type Validator
Original file line number Diff line number Diff line change 11<?php
2- namespace OAuth2 \GrantType ;
2+ namespace Adoy \ OAuth2 \GrantType ;
33
44/**
5- * Client Credentials Parameters
5+ * Client Credentials Parameters
66 */
77class ClientCredentials implements IGrantType
88{
99 /**
1010 * Defines the Grant Type
11- *
12- * @var string Defaults to 'client_credentials'.
11+ *
12+ * @var string Defaults to 'client_credentials'.
1313 */
1414 const GRANT_TYPE = 'client_credentials ' ;
1515
1616 /**
1717 * Adds a specific Handling of the parameters
18- *
18+ *
1919 * @return array of Specific parameters to be sent.
2020 * @param mixed $parameters the parameters array (passed by reference)
2121 */
Original file line number Diff line number Diff line change 11<?php
2- namespace OAuth2 \GrantType ;
2+ namespace Adoy \ OAuth2 \GrantType ;
33/**
44 * Specific GrantType Interface
55 */
6- interface IGrantType
6+ interface IGrantType
77{
88 /**
99 * Adds a specific Handling of the parameters
10- *
10+ *
1111 * @return array of Specific parameters to be sent.
1212 * @param mixed $parameters the parameters array (passed by reference)
1313 */
Original file line number Diff line number Diff line change 11<?php
2- namespace OAuth2 \GrantType ;
2+ namespace Adoy \ OAuth2 \GrantType ;
33
4- use OAuth2 \InvalidArgumentException ;
4+ use Adoy \ OAuth2 \InvalidArgumentException ;
55
66/**
77 * Password Parameters
Original file line number Diff line number Diff line change 11<?php
2- namespace OAuth2 \GrantType ;
2+ namespace Adoy \ OAuth2 \GrantType ;
33
4- use OAuth2 \InvalidArgumentException ;
4+ use Adoy \ OAuth2 \InvalidArgumentException ;
55
66/**
77 * Refresh Token Parameters
You can’t perform that action at this time.
0 commit comments