Skip to content

Commit

Permalink
Document the return type of IdentityProviderInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed Sep 24, 2024
1 parent a459d0f commit f9cf360
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Repositories/IdentityProviderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@
*/
namespace OpenIDConnectServer\Repositories;

use League\OAuth2\Server\Entities\UserEntityInterface;
use League\OAuth2\Server\Repositories\RepositoryInterface;
use OpenIDConnectServer\Entities\ClaimSetInterface;

interface IdentityProviderInterface extends RepositoryInterface
{
/**
* @return UserEntityInterface&ClaimSetInterface
*/
public function getUserEntityByIdentifier($identifier);
}

0 comments on commit f9cf360

Please sign in to comment.