HashPassword
(Created page with "In order to Hash and Validate Turnkey passwords you must add two ExternalLateBound methods to SysUser. HashPassword(pwd:String):String VerifyHashedPassword(hash:String; pwd:...")
 
No edit summary
Line 2: Line 2:
  HashPassword(pwd:String):String
  HashPassword(pwd:String):String
  VerifyHashedPassword(hash:String; pwd:String):Integer
  VerifyHashedPassword(hash:String; pwd:String):Integer
SysUser must also have an attribute Email:string(?) in .net core since the underlying pwd salt uses the email.
These methods must have Tagged Value Eco.ExternalLateBound on them - set any value - we only check existence
These methods must have Tagged Value Eco.ExternalLateBound on them - set any value - we only check existence



Revision as of 15:56, 20 May 2020

In order to Hash and Validate Turnkey passwords you must add two ExternalLateBound methods to SysUser.

HashPassword(pwd:String):String
VerifyHashedPassword(hash:String; pwd:String):Integer

SysUser must also have an attribute Email:string(?) in .net core since the underlying pwd salt uses the email.

These methods must have Tagged Value Eco.ExternalLateBound on them - set any value - we only check existence

The VerifyHashedPassword returns an integer that is defined as:

Failed = 0,
Success = 1,
SuccessRehashNeeded = 2
x
This page was edited 98 days ago on 02/10/2024. What links here