0
shobhit created
- ABP Framework version: v4.2.2
- UI type: Angular
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): yes
- Exception message and stack trace:
- Steps to reproduce the issue:"
- Which api endpoint i can use to find if 2 factor is enabled
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
12 Answer(s)
-
0
hi
account\src\Volo.Abp.Account.Pro.Public.HttpApi\Volo\Abp\Account\AccountController.cs[HttpGet] [Route("two-factor-providers")] public virtual Task<List<string>> GetTwoFactorProvidersAsync(GetTwoFactorProvidersInput input) { return AccountAppService.GetTwoFactorProvidersAsync(input); } [HttpPost] [Route("send-two-factor-code")] public virtual Task SendTwoFactorCodeAsync(SendTwoFactorCodeInput input) { return AccountAppService.SendTwoFactorCodeAsync(input); }Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hello Maliming, I am bit confused. i am using 4.2.2 and could not found both methods. i tried to implement it in seperate class but IAppService don't have such implementation. Please guide.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Sorry, the screenshot that I shared was the latest(5.1.x)
You can get the account and identity module source code then copy it to your project.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
