Hashed Url Decryption
Click the Arrow to see description on it.
endpoints.Map("SetPassword", new SetPasswordHandler().Handler());
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.