- 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; }