Class Grant


  • public class Grant
    extends java.lang.Object
    Represents an OAuth Grant
    • 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.
      • Methods inherited from class java.lang.Object

        equals, 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
      • 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.