Class SecurityClaims
java.lang.Object
com.thingworx.communications.common.SecurityClaims
@ThingworxExtensionApiClass(since={6,6},
canInstantiate=true)
public final class SecurityClaims
extends Object
SecurityClaims is a class for managing the security settings for connections to the server.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a SecurityClaims object to this SecurityClaims object.int
count()
Returns the number of SecurityClaims associated with this SecurityClaims object.
Returns the SecurityClaims associated with this SecurityClaims object.boolean
Returns a boolean value that indicates whether any SecurityClaims are associated with this SecurityClaims object.toString()
Returns a string representation of this SecurityClaims object.
-
Field Details
-
TO_STRING_MESSAGE
- See Also:
-
-
Constructor Details
-
SecurityClaims
public SecurityClaims()
-
-
Method Details
-
getClaims
Returns the SecurityClaims associated with this SecurityClaims object.- Returns:
- the SecurityClaims associated with this SecurityClaims object
-
hasClaims
Returns a boolean value that indicates whether any SecurityClaims are associated with this SecurityClaims object.- Returns:
- a boolean value that indicates whether any SecurityClaims are associated with this SecurityClaims object
-
count
Returns the number of SecurityClaims associated with this SecurityClaims object.- Returns:
- the number of SecurityClaims associated with this SecurityClaims object
-
addClaim
Adds a SecurityClaims object to this SecurityClaims object.- Parameters:
name
- the name of the SecurityClaims (e.g., "userid", "password", "appKey")value
- the value of the SecurityClaims
-
toString
Returns a string representation of this SecurityClaims object.
-