Class GrouperOAuthPendingRequest

java.lang.Object
edu.internet2.middleware.grouper.authentication.GrouperOAuthPendingRequest
All Implemented Interfaces:
GcSqlAssignPrimaryKey

public class GrouperOAuthPendingRequest extends Object implements GcSqlAssignPrimaryKey
Entity representing a pending OAuth authorization request. Created when the client sends the user to the authorize endpoint, consumed when the user approves or denies. Stored in the grouper_oauth_pend_authz_req table. Uses GcDbAccess/GcPersistable for database access instead of Hibernate.
  • Field Details

  • Constructor Details

    • GrouperOAuthPendingRequest

      public GrouperOAuthPendingRequest()
  • Method Details

    • gcSqlAssignNewPrimaryKeyForInsert

      public boolean gcSqlAssignNewPrimaryKeyForInsert()
      Description copied from interface: GcSqlAssignPrimaryKey
      assign a new primary key for insert. return true if assigned (insert) or false if not needed
      Specified by:
      gcSqlAssignNewPrimaryKeyForInsert in interface GcSqlAssignPrimaryKey
      See Also:
    • getInternalId

      public long getInternalId()
      Returns:
      the internalId
    • setInternalId

      public void setInternalId(long internalId)
      Parameters:
      internalId - the internalId to set
    • getRequestId

      public String getRequestId()
      Returns:
      the requestId
    • setRequestId

      public void setRequestId(String requestId)
      Parameters:
      requestId - the requestId to set
    • getOauthClientInternalId

      public long getOauthClientInternalId()
      Returns:
      the oauthClientInternalId
    • setOauthClientInternalId

      public void setOauthClientInternalId(long oauthClientInternalId)
      Parameters:
      oauthClientInternalId - the oauthClientInternalId to set
    • getRedirectUri

      public String getRedirectUri()
      Returns:
      the redirectUri
    • setRedirectUri

      public void setRedirectUri(String redirectUri)
      Parameters:
      redirectUri - the redirectUri to set
    • getCodeChallenge

      public String getCodeChallenge()
      Returns:
      the codeChallenge
    • setCodeChallenge

      public void setCodeChallenge(String codeChallenge)
      Parameters:
      codeChallenge - the codeChallenge to set
    • getCodeChallengeMethod

      public String getCodeChallengeMethod()
      Returns:
      the codeChallengeMethod
    • setCodeChallengeMethod

      public void setCodeChallengeMethod(String codeChallengeMethod)
      Parameters:
      codeChallengeMethod - the codeChallengeMethod to set
    • getState

      public String getState()
      Returns:
      the state
    • setState

      public void setState(String state)
      Parameters:
      state - the state to set
    • getScope

      public String getScope()
      Returns:
      the scope
    • setScope

      public void setScope(String scope)
      Parameters:
      scope - the scope to set
    • getCreatedMicros

      public Long getCreatedMicros()
      Returns:
      the createdMicros
    • setCreatedMicros

      public void setCreatedMicros(Long createdMicros)
      Parameters:
      createdMicros - the createdMicros to set
    • getExpiresMicros

      public Long getExpiresMicros()
      Returns:
      the expiresMicros
    • setExpiresMicros

      public void setExpiresMicros(Long expiresMicros)
      Parameters:
      expiresMicros - the expiresMicros to set