Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 2.17 KB

File metadata and controls

41 lines (32 loc) · 2.17 KB

OAuth2ScopeConsentGrant

Grant object that represents an app consent scope grant

Properties

Name Type Description Notes
client_id str Client ID of the app integration [optional] [readonly]
created datetime Timestamp when the Grant object was created [optional] [readonly]
created_by OAuth2Actor [optional]
id str ID of the Grant object [optional] [readonly]
issuer str The issuer of your org authorization server. This is typically your Okta domain.
last_updated datetime Timestamp when the Grant object was last updated [optional] [readonly]
scope_id str The name of the Okta scope for which consent is granted
source OAuth2ScopeConsentGrantSource [optional]
status GrantOrTokenStatus [optional]
user_id str User ID that granted consent (if `source` is `END_USER`) [optional] [readonly]
embedded OAuth2ScopeConsentGrantEmbedded [optional]
links OAuth2ScopeConsentGrantLinks [optional]

Example

from okta.models.o_auth2_scope_consent_grant import OAuth2ScopeConsentGrant

# TODO update the JSON string below
json = "{}"
# create an instance of OAuth2ScopeConsentGrant from a JSON string
o_auth2_scope_consent_grant_instance = OAuth2ScopeConsentGrant.from_json(json)
# print the JSON string representation of the object
print(OAuth2ScopeConsentGrant.to_json())

# convert the object into a dict
o_auth2_scope_consent_grant_dict = o_auth2_scope_consent_grant_instance.to_dict()
# create an instance of OAuth2ScopeConsentGrant from a dict
o_auth2_scope_consent_grant_from_dict = OAuth2ScopeConsentGrant.from_dict(o_auth2_scope_consent_grant_dict)

[Back to Model list] [Back to API list] [Back to README]