Skip to content

Commit

Permalink
getDeviceCodeEntityByUserCode
Browse files Browse the repository at this point in the history
  • Loading branch information
craigp1231 committed Feb 2, 2025
1 parent c858c40 commit 5e0f156
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Repositories/DeviceCodeRepositoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ public function getDeviceCodeEntityByDeviceCode(
string $deviceCodeEntity
): ?DeviceCodeEntityInterface;

/**
* Get a device code entity.
*/
public function getDeviceCodeEntityByUserCode(
string $userCode
): ?DeviceCodeEntityInterface;

/**
* Revoke a device code.
*/
Expand Down

0 comments on commit 5e0f156

Please sign in to comment.