phpOMS/Auth/OAuth2/Provider/ResourceOwnerInterface.php

47 lines
906 B
PHP

<?php
/**
* Orange Management
*
* PHP Version 7.4
*
* @package phpOMS\Auth\OAuth2\Provider
* @copyright Dennis Eichhorn
* @copyright MIT - Copyright (c) 2013-2018 Alex Bilbie <hello@alexbilbie.com> - thephpleague/oauth2-client
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @see https://tools.ietf.org/html/rfc6749
*/
declare(strict_types=1);
namespace phpOMS\Auth\OAuth2\Provider;
/**
* Provider class.
*
* @package phpOMS\Auth\OAuth2\Provider
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
interface ResourceOwnerInterface
{
/**
* Get id
*
* @return string
*
* @since 1.0.0
*/
public function getId() : string;
/**
* Serialize as array
*
* @return array
*
* @since 1.0.0
*/
public function toArray() : array;
}