Package com.nimbusds.oauth2.sdk.id
Class SoftwareID
- java.lang.Object
-
- com.nimbusds.oauth2.sdk.id.Identifier
-
- com.nimbusds.oauth2.sdk.id.SoftwareID
-
- All Implemented Interfaces:
Serializable
,Comparable<Identifier>
,net.minidev.json.JSONAware
@Immutable public final class SoftwareID extends Identifier
Identifier for an OAuth 2.0 client software.Related specifications:
- OAuth 2.0 Dynamic Client Registration Protocol (RFC 7591), section 2.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.nimbusds.oauth2.sdk.id.Identifier
DEFAULT_BYTE_LENGTH, secureRandom
-
-
Constructor Summary
Constructors Constructor Description SoftwareID()
Creates a new OAuth 2.0 client software that is a type 4 UUID.SoftwareID(String value)
Creates a new OAuth 2.0 client software identifier with the specified value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
-
Methods inherited from class com.nimbusds.oauth2.sdk.id.Identifier
compareTo, getValue, hashCode, toJSONString, toString, toStringList
-
-
-
-
Constructor Detail
-
SoftwareID
public SoftwareID(String value)
Creates a new OAuth 2.0 client software identifier with the specified value.- Parameters:
value
- The software identifier value. Must not benull
or empty string.
-
SoftwareID
public SoftwareID()
Creates a new OAuth 2.0 client software that is a type 4 UUID.
-
-
Method Detail
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classIdentifier
-
-