com.nimbusds.oauth2.sdk
Class ResponseType.Value
java.lang.Object
com.nimbusds.oauth2.sdk.id.Identifier
com.nimbusds.oauth2.sdk.ResponseType.Value
- All Implemented Interfaces:
- net.minidev.json.JSONAware
- Enclosing class:
- ResponseType
@Immutable
public static final class ResponseType.Value
- extends Identifier
Authorisation response type value. This class is immutable.
Method Summary |
boolean |
equals(Object object)
Overrides Object.equals() . |
CODE
public static final ResponseType.Value CODE
- Authorisation code.
TOKEN
public static final ResponseType.Value TOKEN
- Access token, with optional refresh token.
ResponseType.Value
public ResponseType.Value(String value)
- Creates a new response type value.
- Parameters:
value
- The response type value. Must not be
null
or empty string.
equals
public boolean equals(Object object)
- Description copied from class:
Identifier
- Overrides
Object.equals()
.
- Specified by:
equals
in class Identifier
- Parameters:
object
- The object to compare to.
- Returns:
true
if the objects have the same value, otherwise
false
.
Copyright © 2013 NimbusDS. All Rights Reserved.