Skip to content

Commit

Permalink
fixup! feat: Two Factor API
Browse files Browse the repository at this point in the history
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
  • Loading branch information
SebastianKrupinski committed Nov 29, 2024
1 parent 5b255be commit e13f498
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/Controller/TwoFactorApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function __construct(
*
* @param array<string> $users collection of system user ids
*
* @return DataResponse<Http::STATUS_OK, array{userId: array{providerId: bool}}>
* @return DataResponse<Http::STATUS_OK, list{string: list{string: bool}}, array{}>
*
* 200: user/provider states
*/
Expand All @@ -56,7 +56,7 @@ public function state(array $users = []): DataResponse {
* @param string $user system user identifier
* @param array<string> $providers collection of TFA provider ids
*
* @return DataResponse<Http::STATUS_OK, array{providerId: bool}>
* @return DataResponse<Http::STATUS_OK|Http::STATUS_NOT_FOUND, list{string: bool}, array{}>
*
* 200: provider states
* 404: user not found
Expand All @@ -83,7 +83,7 @@ public function enable(string $user, array $providers = []): DataResponse {
* @param string $user system user identifier
* @param array<string> $providers collection of TFA provider ids
*
* @return DataResponse<Http::STATUS_OK, array{providerId: bool}>
* @return DataResponse<Http::STATUS_OK|Http::STATUS_NOT_FOUND, list{string: bool}, array{}>
*
* 200: provider states
* 404: user not found
Expand Down

0 comments on commit e13f498

Please sign in to comment.