|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nimbusds.oauth2.sdk.id.Identifier
com.nimbusds.oauth2.sdk.id.Issuer
@Immutable public final class Issuer
Issuer identifier. This class is immutable.
Constructor Summary | |
---|---|
Issuer()
Creates a new issuer identifier with a randomly generated value. |
|
Issuer(int length)
Creates a new issuer identifier with a randomly generated value of the specified length. |
|
Issuer(String value)
Creates a new issuer identifier with the specified value. |
Method Summary | |
---|---|
boolean |
equals(Object object)
Overrides Object.equals() . |
Methods inherited from class com.nimbusds.oauth2.sdk.id.Identifier |
---|
getValue, hashCode, toJSONString, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Issuer(String value)
value
- The issuer identifier value. Must not be null
or empty string.public Issuer(int length)
length
- The number of characters. Must be a positive integer.public Issuer()
Method Detail |
---|
public boolean equals(Object object)
Identifier
Object.equals()
.
equals
in class Identifier
object
- The object to compare to.
true
if the objects have the same value, otherwise
false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |