[Authorize()] // appidentity public async Task <IActionResult> CreateAcknowledgeCodeAsync([FromBody] CreateUserAuthenticationCodeRequest request) { return(Ok(await userAuthService.CreateCodeAsync(User.Identity as ISessionIdentity, request))); }