AppThreeLeggedOAuthCredential¶
- class oci.identity_domains.models.AppThreeLeggedOAuthCredential(**kwargs)¶
Bases:
objectThe value of this attribute persists any OAuth access token that the system uses to connect to this ManagedApp. The system obtains this access token using an OAuth protocol flow that could be two-legged or three-legged. A two-legged flow involves only the requester and the server. A three-legged flow also requires the consent of a user – in this case the consent of an administrator.
SCIM++ Properties: - idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: complex
Methods:
__init__(**kwargs)Initializes a new AppThreeLeggedOAuthCredential object with values from keyword arguments.
Attributes:
Gets the access_token of this AppThreeLeggedOAuthCredential.
Gets the access_token_expiry of this AppThreeLeggedOAuthCredential.
Gets the refresh_token of this AppThreeLeggedOAuthCredential.
- __init__(**kwargs)¶
Initializes a new AppThreeLeggedOAuthCredential object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
access_token (str) – The value to assign to the access_token property of this AppThreeLeggedOAuthCredential.
refresh_token (str) – The value to assign to the refresh_token property of this AppThreeLeggedOAuthCredential.
access_token_expiry (str) – The value to assign to the access_token_expiry property of this AppThreeLeggedOAuthCredential.
- property access_token¶
Gets the access_token of this AppThreeLeggedOAuthCredential. Access Token
- SCIM++ Properties:
caseExact: true
idcsSearchable: false
idcsSensitive: encrypt
multiValued: false
mutability: readWrite
required: false
returned: default
type: string
uniqueness: none
- Returns
The access_token of this AppThreeLeggedOAuthCredential.
- Return type
str
- property access_token_expiry¶
Gets the access_token_expiry of this AppThreeLeggedOAuthCredential. Access token expiry
- SCIM++ Properties:
caseExact: true
idcsSearchable: true
multiValued: false
mutability: readWrite
required: false
returned: default
type: dateTime
uniqueness: none
- Returns
The access_token_expiry of this AppThreeLeggedOAuthCredential.
- Return type
str
- property refresh_token¶
Gets the refresh_token of this AppThreeLeggedOAuthCredential. Refresh Token
- SCIM++ Properties:
caseExact: true
idcsSearchable: true
idcsSensitive: encrypt
multiValued: false
mutability: readWrite
required: false
returned: default
type: string
uniqueness: none
- Returns
The refresh_token of this AppThreeLeggedOAuthCredential.
- Return type
str