C# Класс BlottoBeats.Library.Authentication.Credentials

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
Credentials ( string username, string password ) : System
GenerateHash ( ) : string

Generates a new hash for the password

Verify ( string hash ) : bool

Verifies that the specified password matches the given hash

Описание методов

Credentials() публичный Метод

public Credentials ( string username, string password ) : System
username string
password string
Результат System

GenerateHash() публичный Метод

Generates a new hash for the password
public GenerateHash ( ) : string
Результат string

Verify() публичный Метод

Verifies that the specified password matches the given hash
public Verify ( string hash ) : bool
hash string Hash to check
Результат bool