mirror of
https://github.com/Combodo/iTop.git
synced 2026-08-04 04:48:17 +02:00
* merging 3.0 into develop * N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth * migration to iTop 3.1 Co-authored-by: Eric Espie <eric.espie@combodo.com>
37 lines
1011 B
PHP
37 lines
1011 B
PHP
<?php
|
|
/**
|
|
* This file is part of the league/oauth2-client library
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*
|
|
* @copyright Copyright (c) Alex Bilbie <hello@alexbilbie.com>
|
|
* @license http://opensource.org/licenses/MIT MIT
|
|
* @link http://thephpleague.com/oauth2-client/ Documentation
|
|
* @link https://packagist.org/packages/league/oauth2-client Packagist
|
|
* @link https://github.com/thephpleague/oauth2-client GitHub
|
|
*/
|
|
|
|
namespace League\OAuth2\Client\Provider;
|
|
|
|
/**
|
|
* Classes implementing `ResourceOwnerInterface` may be used to represent
|
|
* the resource owner authenticated with a service provider.
|
|
*/
|
|
interface ResourceOwnerInterface
|
|
{
|
|
/**
|
|
* Returns the identifier of the authorized resource owner.
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function getId();
|
|
|
|
/**
|
|
* Return all of the owner details available as an array.
|
|
*
|
|
* @return array
|
|
*/
|
|
public function toArray();
|
|
}
|