feat: get request JTI helper

This commit is contained in:
2025-06-11 20:52:22 +02:00
parent 7fd163f957
commit b3296c45ad

View File

@ -11,3 +11,7 @@ func GetRequestUserId(ctx context.Context) (string, bool) {
return userId, ok return userId, ok
} }
func GetRequestJTI(ctx context.Context) (string, bool) {
jti, ok := ctx.Value(types.JTIKey).(string)
return jti, ok
}