GetAccessSecretContext.cs 718 B

12345678910111213141516171819202122232425
  1. // 大名科技(天津)有限公司版权所有 电话:18020030720 QQ:515096995
  2. //
  3. // 此源代码遵循位于源代码树根目录中的 LICENSE 文件的许可证
  4. using Microsoft.AspNetCore.Authentication;
  5. namespace Admin.NET.Core;
  6. /// <summary>
  7. /// 获取 AccessKey 关联 AccessSecret 方法的上下文
  8. /// </summary>
  9. public class GetAccessSecretContext : BaseContext<SignatureAuthenticationOptions>
  10. {
  11. public GetAccessSecretContext(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. }