C# 클래스 BlottoBeats.Library.Authentication.Credentials

파일 보기 프로젝트 열기: Zwolf11/BlottoBeats 1 사용 예제들

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