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 <[email protected]>
  • Loading branch information
SebastianKrupinski committed Nov 29, 2024
1 parent e13f498 commit 207f5cd
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 @@ -31,7 +31,7 @@ public function __construct(
/**
* Get two factor authentication provider states
*
* @param array<string> $users collection of system user ids
* @param list<string> $users collection of system user ids
*
* @return DataResponse<Http::STATUS_OK, list{string: list{string: bool}}, array{}>
*
Expand All @@ -54,7 +54,7 @@ public function state(array $users = []): DataResponse {
* Enable two factor authentication providers for specific user
*
* @param string $user system user identifier
* @param array<string> $providers collection of TFA provider ids
* @param list<string> $providers collection of TFA provider ids
*
* @return DataResponse<Http::STATUS_OK|Http::STATUS_NOT_FOUND, list{string: bool}, array{}>
*
Expand All @@ -81,7 +81,7 @@ public function enable(string $user, array $providers = []): DataResponse {
* Disable two factor authentication providers for specific user
*
* @param string $user system user identifier
* @param array<string> $providers collection of TFA provider ids
* @param list<string> $providers collection of TFA provider ids
*
* @return DataResponse<Http::STATUS_OK|Http::STATUS_NOT_FOUND, list{string: bool}, array{}>
*
Expand Down

0 comments on commit 207f5cd

Please sign in to comment.