com.tivoli.am.fim.trustserver.sts.oauth20
Class Grant

java.lang.Object
  extended by com.tivoli.am.fim.trustserver.sts.oauth20.Grant

public class Grant
extends java.lang.Object

Represents an OAuth Grant


Field Summary
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
           
protected static com.tivoli.am.fim.logging.FIMLogger log
           
 
Constructor Summary
Grant(java.lang.String clientId, java.lang.String stateId, boolean isEnabled)
          Initialize this Grant with the specified parameters.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
See Also:
Constant Field Values

log

protected static com.tivoli.am.fim.logging.FIMLogger log

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
Constructor Detail

Grant

public Grant(java.lang.String clientId,
             java.lang.String stateId,
             boolean isEnabled)
Initialize this Grant with the specified parameters.

Parameters:
clientId -
stateId -
isEnabled -
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.