Package com.okta.sdk.resource.model
Class OAuth2ScopeConsentGrant
java.lang.Object
com.okta.sdk.resource.model.OAuth2ScopeConsentGrant
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-08-09T14:19:33.269913-05:00[America/Chicago]",
comments="Generator version: 7.7.0")
public class OAuth2ScopeConsentGrant
extends Object
implements Serializable
Grant object that represents an app consent scope grant
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreatedBy
(OAuth2Actor createdBy) embedded
(OAuth2ScopeConsentGrantEmbedded embedded) boolean
Client ID of the app integrationTimestamp when the object was createdGet createdByGet embeddedgetId()
ID of the Grant objectThe issuer of your org authorization server.Timestamp when the object was last updatedgetLinks()
Get linksThe name of the [Okta scope](https://developer.okta.com/docs/api/oauth2/#oauth-20-scopes) for which consent is grantedGet sourceGet statusUser ID that granted consent (if `source` is `END_USER`)int
hashCode()
void
setCreatedBy
(OAuth2Actor createdBy) void
setEmbedded
(OAuth2ScopeConsentGrantEmbedded embedded) void
void
void
setScopeId
(String scopeId) void
void
setStatus
(GrantOrTokenStatus status) source
(OAuth2ScopeConsentGrantSource source) status
(GrantOrTokenStatus status) toString()
-
Field Details
-
JSON_PROPERTY_CLIENT_ID
- See Also:
-
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_CREATED_BY
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_ISSUER
- See Also:
-
JSON_PROPERTY_LAST_UPDATED
- See Also:
-
JSON_PROPERTY_SCOPE_ID
- See Also:
-
JSON_PROPERTY_SOURCE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_USER_ID
- See Also:
-
JSON_PROPERTY_EMBEDDED
- See Also:
-
JSON_PROPERTY_LINKS
- See Also:
-
-
Constructor Details
-
OAuth2ScopeConsentGrant
public OAuth2ScopeConsentGrant()
-
-
Method Details
-
getClientId
-
getCreated
-
createdBy
-
getCreatedBy
-
setCreatedBy
-
getId
-
issuer
-
getIssuer
-
setIssuer
-
getLastUpdated
Timestamp when the object was last updated- Returns:
- lastUpdated
-
scopeId
-
getScopeId
-
setScopeId
-
source
-
getSource
-
setSource
-
status
-
getStatus
-
setStatus
-
getUserId
-
embedded
-
getEmbedded
-
setEmbedded
-
links
-
getLinks
-
setLinks
-
equals
-
hashCode
-
toString
-