OAuthOptions.cs 673 B

123456789101112131415161718192021
  1. // 此源代码遵循位于源代码树根目录中的 LICENSE 文件的许可证。
  2. //
  3. // 必须在法律法规允许的范围内正确使用,严禁将其用于非法、欺诈、恶意或侵犯他人合法权益的目的。
  4. namespace Admin.NET.Core;
  5. /// <summary>
  6. /// 第三方登录授权配置选项
  7. /// </summary>
  8. public sealed class OAuthOptions : IConfigurableOptions
  9. {
  10. /// <summary>
  11. /// Weixin配置
  12. /// </summary>
  13. public Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions Weixin { get; set; }
  14. /// <summary>
  15. /// Gitee配置
  16. /// </summary>
  17. public Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions Gitee { get; set; }
  18. }