Skip to content

Commit 0964917

Browse files
committed
[ADDED] RequireProxied user claims property
This would be used in the server to enforce that a user connects through a trusted proxy. Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
1 parent 28e31bd commit 0964917

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

v2/user_claims.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ type UserPermissionLimits struct {
3636
Permissions
3737
Limits
3838
BearerToken bool `json:"bearer_token,omitempty"`
39+
RequireProxied bool `json:"require_proxied,omitempty"`
3940
AllowedConnectionTypes StringList `json:"allowed_connection_types,omitempty"`
4041
}
4142

0 commit comments

Comments
 (0)