summaryrefslogtreecommitdiff
path: root/server/vendor/php-opencloud/common/src/Common/Auth/IdentityService.php
blob: 695e7b17af0e9b26d788e38ecf338feb0b83fc92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

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
     */
    public function authenticate(array $options);
}