1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-25 21:34:52 -05:00
bitwarden/src/Api/Auth/Authorization/Requirements/SameSendIdRequirement.cs

9 lines
298 B
C#

using Microsoft.AspNetCore.Authorization;
namespace Bit.Api.Auth.Authorization.Requirements;
// <summary>
// Requires that the id of the send request matches the id of the subject claim in the send access token.
// </summary>
public class SameSendIdRequirement : IAuthorizationRequirement { }