Table of Contents

Class PasswordHasher

Namespace
KadicAuth.Infrastructure.Services
Assembly
KadicAuth.Infrastructure.dll
public class PasswordHasher : IPasswordHasher
Inheritance
object
PasswordHasher
Implements

Methods

HashPassword(string)

public string HashPassword(string password)

Parameters

password string

Returns

string

NeedsRehash(string)

public bool NeedsRehash(string passwordHash)

Parameters

passwordHash string

Returns

bool

Validate(string)

public IReadOnlyList<string> Validate(string password)

Parameters

password string

Returns

IReadOnlyList<string>

VerifyPassword(string, string)

public bool VerifyPassword(string password, string passwordHash)

Parameters

password string
passwordHash string

Returns

bool