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-09-23T08:35:59.300824-05:00[America/Chicago]",
comments="Generator version: 7.8.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
Client ID of the app integration- Returns:
- clientId
-
getCreated
Timestamp when the object was created- Returns:
- created
-
createdBy
-
getCreatedBy
Get createdBy- Returns:
- createdBy
-
setCreatedBy
-
getId
ID of the Grant object- Returns:
- id
-
issuer
-
getIssuer
The issuer of your org authorization server. This is typically your Okta domain.- Returns:
- issuer
-
setIssuer
-
getLastUpdated
Timestamp when the object was last updated- Returns:
- lastUpdated
-
scopeId
-
getScopeId
The name of the [Okta scope](https://developer.okta.com/docs/api/oauth2/#oauth-20-scopes) for which consent is granted- Returns:
- scopeId
-
setScopeId
-
source
-
getSource
Get source- Returns:
- source
-
setSource
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
getUserId
User ID that granted consent (if `source` is `END_USER`)- Returns:
- userId
-
embedded
-
getEmbedded
Get embedded- Returns:
- embedded
-
setEmbedded
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-