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

public class Grant extends Object
Represents an OAuth Grant
  • Field Details

  • Constructor Details

    • Grant

      public Grant(String clientId, String stateId, boolean isEnabled)
      Initialize this Grant with the specified parameters.
      Parameters:
      clientId -
      stateId -
      isEnabled -
  • Method Details

    • getClientId

      public String getClientId()
      Return the client ID of the authorization grant.
      Returns:
      The client ID of the authorization grant.
    • getStateId

      public 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.