Class LicenseConnectionOperations
java.lang.Object
dev.demeng.sentinel.client.license.LicenseConnectionOperations
Operations for managing license connections (platform-to-user mappings).
Obtain an instance via LicenseService.connections().
-
Method Summary
-
Method Details
-
add
Adds connections to a license.- Parameters:
key- the license keyconnections- a map of platform names to user identifiers- Returns:
- the updated license
- Throws:
SentinelException- if a network or API error occurs
-
remove
Removes connections from a license by platform.- Parameters:
key- the license keyplatforms- the set of platform names to disconnect- Returns:
- the updated license
- Throws:
SentinelException- if a network or API error occurs
-