|
Dreamine.Web 1.0.0.0
WPF와 Blazor를 한 코드 흐름으로 연결하고 반복적인 MVVM 코드를 줄이는 오픈소스 FullKit 공식 웹 애플리케이션입니다.
|
클래스 | |
| class | AdminAuthData |
Public 멤버 함수 | |
| AdminAuthService (DreamineOptions opts) | |
| bool | Verify (string password) |
| async Task | ChangePasswordAsync (string newPassword) |
Private 멤버 함수 | |
| void | WriteOverridePassword (string passwordHash) |
Private 속성 | |
| readonly string | _filePath |
| readonly string | _fallbackPassword |
| string? | _overridePassword |
정적 Private 속성 | |
| static readonly JsonSerializerOptions | _json = new() { WriteIndented = true } |
Admin Auth Service 기능과 관련 상태를 캡슐화합니다.
AdminAuthService.cs 파일의 16 번째 라인에서 정의되었습니다.
|
inline |
지정한 설정으로 AdminAuthService 클래스의 새 인스턴스를 초기화합니다.
| opts | opts에 사용할 DreamineOptions 값입니다. |
AdminAuthService.cs 파일의 72 번째 라인에서 정의되었습니다.
다음을 참조함 : _fallbackPassword, _filePath, _overridePassword, DreamineWeb.Models.DreamineOptions.ResolvedDataPath, DreamineWeb.Models.DreamineOptions.SuperAdminPassword.
|
inline |
Change Password Async 작업을 수행합니다.
| newPassword | new Password에 사용할 string 값입니다. |
Task 결과입니다.AdminAuthService.cs 파일의 156 번째 라인에서 정의되었습니다.
다음을 참조함 : _filePath, _json, _overridePassword.
|
inline |
Verify 작업을 수행합니다.
| password | password에 사용할 string 값입니다. |
true이고, 그렇지 않으면 false입니다.AdminAuthService.cs 파일의 112 번째 라인에서 정의되었습니다.
다음을 참조함 : _fallbackPassword, _overridePassword, WriteOverridePassword().

|
inlineprivate |
Override Password 데이터를 씁니다.
| passwordHash | password Hash에 사용할 string 값입니다. |
AdminAuthService.cs 파일의 180 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Verify().

|
private |
fallback Password 값을 보관합니다.
AdminAuthService.cs 파일의 35 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : AdminAuthService(), Verify().
|
private |
file Path 값을 보관합니다.
AdminAuthService.cs 파일의 26 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : AdminAuthService(), ChangePasswordAsync(), WriteOverridePassword().
|
staticprivate |
json 값을 보관합니다.
AdminAuthService.cs 파일의 54 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ChangePasswordAsync(), WriteOverridePassword().
|
private |
override Password 값을 보관합니다.
AdminAuthService.cs 파일의 44 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : AdminAuthService(), ChangePasswordAsync(), Verify().