From cf0605972f2bbbd9861fca03bab81a6dc64d9824 Mon Sep 17 00:00:00 2001 From: Tino Hager Date: Mon, 17 Jun 2024 21:34:32 +0200 Subject: [PATCH] Optimize naming --- .../Controllers/AuthenticationController.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Nager.Authentication.AspNet/Controllers/AuthenticationController.cs b/src/Nager.Authentication.AspNet/Controllers/AuthenticationController.cs index 2eb536b..212f039 100644 --- a/src/Nager.Authentication.AspNet/Controllers/AuthenticationController.cs +++ b/src/Nager.Authentication.AspNet/Controllers/AuthenticationController.cs @@ -182,8 +182,9 @@ public async Task> AuthenticateAsync( } /// - /// Second Step Time-based one-time password + /// Authenticate Mfa Token /// + /// Second Step Time-based one-time password /// /// /// @@ -196,7 +197,7 @@ public async Task> AuthenticateAsync( [ProducesResponseType(StatusCodes.Status200OK)] [ProducesResponseType(StatusCodes.Status400BadRequest)] [ProducesResponseType(StatusCodes.Status500InternalServerError)] - public async Task> SecondStepTotpAsync( + public async Task> AuthenticateMfaTokenAsync( [Required][FromBody] AuthenticationMfaTokenRequestDto request, CancellationToken cancellationToken = default) {