Class Grant
- java.lang.Object
-
- com.tivoli.am.fim.trustserver.sts.oauth20.Grant
-
public class Grant extends java.lang.Object
Represents an OAuth Grant
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
GRANT_CLIENT_ID
static java.lang.String
Grant_java_copyright
static java.lang.String
Grant_java_sourceCodeID
static java.lang.String
GRANT_STATE_ID
static java.lang.String
GRANT_TOKEN_ENABLED
-
Constructor Summary
Constructors Constructor Description Grant(java.lang.String clientId, java.lang.String stateId, boolean isEnabled)
Initialize this Grant with the specified parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getClientId()
Return the client ID of the authorization grant.java.lang.String
getStateId()
Return the state ID of the authorization grant.boolean
isEnabled()
Return whether the authorization grant is enabled.
-
-
-
Field Detail
-
Grant_java_sourceCodeID
public static final java.lang.String Grant_java_sourceCodeID
- See Also:
- Constant Field Values
-
Grant_java_copyright
public static final java.lang.String Grant_java_copyright
-
GRANT_CLIENT_ID
public static final java.lang.String GRANT_CLIENT_ID
- See Also:
- Constant Field Values
-
GRANT_STATE_ID
public static final java.lang.String GRANT_STATE_ID
- See Also:
- Constant Field Values
-
GRANT_TOKEN_ENABLED
public static final java.lang.String GRANT_TOKEN_ENABLED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getClientId
public java.lang.String getClientId()
Return the client ID of the authorization grant.- Returns:
- The client ID of the authorization grant.
-
getStateId
public java.lang.String getStateId()
Return the state ID of the authorization grant.- Returns:
- The state ID of the authorization grant.
-
isEnabled
public boolean isEnabled()
Return whether the authorization grant is enabled.- Returns:
- True if the authorization grant is enabled.
-
-