Dreamine.Identity 1.0.0.0
Dreamine.Identity 프로젝트의 API와 구성 요소를 제공합니다.
로딩중...
검색중...
일치하는것 없음
AuthOptions.cs
이 파일의 문서화 페이지로 가기
2
19public sealed class AuthOptions
20{
29 public const string SectionName = "Authentication";
30
39 public OAuthProviderOptions Google { get; set; } = new();
40
49 public OAuthProviderOptions Naver { get; set; } = new();
50
59 public OAuthProviderOptions Kakao { get; set; } = new();
60
69 public string CookieDomain { get; set; } = string.Empty;
70
79 public string CookieName { get; set; } = ".Dreamine.Identity";
80
89 public string DataProtectionKeysPath { get; set; } = string.Empty;
90
99 public string DataProtectionApplicationName { get; set; } = "Dreamine.Identity";
100}
101
110public sealed class OAuthProviderOptions
111{
120 public string ClientId { get; set; } = string.Empty;
121
130 public string ClientSecret { get; set; } = string.Empty;
131
140 public bool IsConfigured =>
141 !string.IsNullOrWhiteSpace(ClientId) && !string.IsNullOrWhiteSpace(ClientSecret);
142}