istic-openstack/server/vendor/php-opencloud/common/src/Common/Auth/IdentityService.php

14 lines
342 B
PHP
Raw Normal View History

2016-03-23 15:30:47 +01:00
<?php declare(strict_types=1);
2016-03-09 15:36:02 +01:00
namespace OpenCloud\Common\Auth;
interface IdentityService
{
/**
* Authenticates and retrieves back a token and catalog.
*
* @return array The FIRST key is {@see Token} instance, the SECOND key is a {@see Catalog} instance
*/
2016-03-23 15:30:47 +01:00
public function authenticate(array $options): array;
2016-03-09 15:36:02 +01:00
}