🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
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

This page was created by Hans.karlsen on 2018-08-02. Last edited by Edgar on 2025-01-20.

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
MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments