Class GrouperOAuthPendingRequest
java.lang.Object
edu.internet2.middleware.grouper.authentication.GrouperOAuthPendingRequest
- All Implemented Interfaces:
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringcolumnstatic final Stringcolumnstatic final Stringcolumnstatic final Stringcolumnstatic final Stringcolumnstatic final Stringcolumnstatic final Stringcolumnstatic final Stringcolumnstatic final Stringcolumnstatic final Stringcolumnstatic final Stringtable name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanassign a new primary key for insert.longlonggetScope()getState()voidsetCodeChallenge(String codeChallenge) voidsetCodeChallengeMethod(String codeChallengeMethod) voidsetCreatedMicros(Long createdMicros) voidsetExpiresMicros(Long expiresMicros) voidsetInternalId(long internalId) voidsetOauthClientInternalId(long oauthClientInternalId) voidsetRedirectUri(String redirectUri) voidsetRequestId(String requestId) voidvoid
-
Field Details
-
TABLE_GROUPER_OAUTH_PEND_AUTHZ_REQ
table name- See Also:
-
COLUMN_INTERNAL_ID
column- See Also:
-
COLUMN_REQUEST_ID
column- See Also:
-
COLUMN_OAUTH_CLIENT_INTERNAL_ID
column- See Also:
-
COLUMN_REDIRECT_URI
column- See Also:
-
COLUMN_CODE_CHALLENGE
column- See Also:
-
COLUMN_CODE_CHALLENGE_METHOD
column- See Also:
-
COLUMN_STATE
column- See Also:
-
COLUMN_SCOPE
column- See Also:
-
COLUMN_CREATED_MICROS
column- See Also:
-
COLUMN_EXPIRES_MICROS
column- See Also:
-
-
Constructor Details
-
GrouperOAuthPendingRequest
public GrouperOAuthPendingRequest()
-
-
Method Details
-
gcSqlAssignNewPrimaryKeyForInsert
public boolean gcSqlAssignNewPrimaryKeyForInsert()Description copied from interface:GcSqlAssignPrimaryKeyassign a new primary key for insert. return true if assigned (insert) or false if not needed- Specified by:
gcSqlAssignNewPrimaryKeyForInsertin interfaceGcSqlAssignPrimaryKey- See Also:
-
getInternalId
public long getInternalId()- Returns:
- the internalId
-
setInternalId
public void setInternalId(long internalId) - Parameters:
internalId- the internalId to set
-
getRequestId
- Returns:
- the requestId
-
setRequestId
- 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
- Returns:
- the redirectUri
-
setRedirectUri
- Parameters:
redirectUri- the redirectUri to set
-
getCodeChallenge
- Returns:
- the codeChallenge
-
setCodeChallenge
- Parameters:
codeChallenge- the codeChallenge to set
-
getCodeChallengeMethod
- Returns:
- the codeChallengeMethod
-
setCodeChallengeMethod
- Parameters:
codeChallengeMethod- the codeChallengeMethod to set
-
getState
- Returns:
- the state
-
setState
- Parameters:
state- the state to set
-
getScope
- Returns:
- the scope
-
setScope
- Parameters:
scope- the scope to set
-
getCreatedMicros
- Returns:
- the createdMicros
-
setCreatedMicros
- Parameters:
createdMicros- the createdMicros to set
-
getExpiresMicros
- Returns:
- the expiresMicros
-
setExpiresMicros
- Parameters:
expiresMicros- the expiresMicros to set
-