Skip to content

Latest commit

 

History

History
43 lines (38 loc) · 2.03 KB

File metadata and controls

43 lines (38 loc) · 2.03 KB

Hashed-Url-Decryption

Hashed Url Decryption

How to use Hashed Url

Click the Arrow to see description on it.

Create End Point Map

    endpoints.Map("SetPassword", new SetPasswordHandler().Handler());

How to work with BCrypt


How to handle Request Parameter

using Microsoft.AspNetCore.Http;
- Add this name space on it.

- When /SetPassword is requested , this class ll handle it.
- If requested url query parameter named email is not empty or the data stored as the relevant hash (from hashedEmailList) in our system.
- ! Requested url must be : /SetPassword?email=HashInstance
- When this hash key matched via our any hashedEmailList item , we ll find unhashed version of it. Then return an action via unhashed email for any work of business.
- If there is no hash key that coming from RouteData , write response that 'It's not registered email....' ext.