# Functions

NewJWTValidator creates a new JWTValidator.
ValidateActiveUser validates if the user in the JWT claim is active.
ValidateApplicationAccess validates if the client has access to the given application.
ValidateApplicationsAccess validates if the client has access to the global applications resource.
ValidateApplicationUserAccess validates if the client has access to the given application member.
ValidateApplicationUsersAccess validates if the client has access to the given application members.
ValidateDeviceProfileAccess validates if the client has access to the given device-profile.
ValidateDeviceProfilesAccess validates if the client has access to the device-profiles.
ValidateDeviceQueueAccess validates if the client has access to the queue of the given node.
ValidateGatewayAccess validates if the client has access to the given gateway.
ValidateGatewayProfileAccess validates if the client has access to the gateway-profiles.
ValidateGatewaysAccess validates if the client has access to the gateways.
ValidateIsApplicationAdmin validates if the client has access to administrate the given application.
ValidateIsOrganizationAdmin validates if the client has access to administrate the given organization.
ValidateNetworkServerAccess validates if the client has access to the given network-server.
ValidateNetworkServersAccess validates if the client has access to the network-servers.
ValidateNodeAccess validates if the client has access to the given node.
ValidateNodesAccess validates if the client has access to the global nodes resource.
ValidateOrganizationAccess validates if the client has access to the given organization.
ValidateOrganizationNetworkServerAccess validates if the given client has access to the given organization id / network server id combination.
ValidateOrganizationsAccess validates if the client has access to the organizations.
ValidateOrganizationUserAccess validates if the client has access to the given user of the given organization.
ValidateOrganizationUsersAccess validates if the client has access to the organization users.
ValidateServiceProfileAccess validates if the client has access to the given service-profile.
ValidateServiceProfilesAccess validates if the client has access to the service-profiles.
ValidateUserAccess validates if the client has access to the given user resource.
ValidateUsersAccess validates if the client has access to the global users resource.

# Constants

Authorization flags.
Authorization flags.
Authorization flags.
Authorization flags.
Authorization flags.
Authorization flags.

# Variables

DisableAssignExistingUsers controls if existing users can be assigned to an organization or application.
errors.
errors.
errors.
errors.
errors.

# Structs

Claims defines the struct containing the token claims.
JWTValidator validates JWT tokens.

# Interfaces

Validator defines the interface a validator needs to implement.

# Type aliases

Flag defines the authorization flag.
ValidatorFunc defines the signature of a claim validator function.