Manually validating a password reset token in ASP.NET Identity

后端 未结 2 1735
醉梦人生
醉梦人生 2021-02-04 15:09

I would like to manually validate a password reset token in ASP.NET Identity 2.0. I\'m trying to create my own version of UserManager.ResetPasswordAsync(string userId, str

2条回答
  •  猫巷女王i
    2021-02-04 16:03

    It appears that the code for Microsoft.AspNet.Identity has not been Open Sourced according to the Codeplex repository located at:

    https://aspnetidentity.codeplex.com/SourceControl/latest#Readme.markdown

    At present, the ASP.NET Identity framework code is not public and therefore will not be published on this site. However, we are planning to change that, and as soon as we are able, the code will be published in this repository.

    However I did find this which might be the source for the UserManager based on the debug symbols:

    UserManager Source Code

    I also found these posts which might help:

    Implementing custom password policy using ASP.NET Identity

    UserManager Class Documentation

    IUserTokenProvider Interface Documentation

提交回复
热议问题