Skip to content

Commit 953e18b

Browse files
authored
[ADDED] ProxyRequired user claims property (#239)
This would be used in the server to enforce that a user connects through a trusted proxy. Signed-off-by: Ivan Kozlovic <[email protected]>
1 parent 28e31bd commit 953e18b

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+
ProxyRequired bool `json:"proxy_required,omitempty"`
3940
AllowedConnectionTypes StringList `json:"allowed_connection_types,omitempty"`
4041
}
4142

0 commit comments

Comments
 (0)