SignatureValidatedContext.cs 809 B

123456789101112131415161718192021222324252627282930
  1. // 大名科技(天津)有限公司版权所有 电话:18020030720 QQ:515096995
  2. //
  3. // 此源代码遵循位于源代码树根目录中的 LICENSE 文件的许可证
  4. using Microsoft.AspNetCore.Authentication;
  5. namespace Admin.NET.Core;
  6. /// <summary>
  7. /// Signature 身份验证已验证上下文
  8. /// </summary>
  9. public class SignatureValidatedContext : ResultContext<SignatureAuthenticationOptions>
  10. {
  11. public SignatureValidatedContext(HttpContext context,
  12. AuthenticationScheme scheme,
  13. SignatureAuthenticationOptions options)
  14. : base(context, scheme, options)
  15. {
  16. }
  17. /// <summary>
  18. /// 身份标识
  19. /// </summary>
  20. public string AccessKey { get; set; }
  21. /// <summary>
  22. /// 密钥
  23. /// </summary>
  24. public string AccessSecret { get; set; }
  25. }