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

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): array;
}