CreateOAuth2ClientCredentialDetails

class oci.identity.models.CreateOAuth2ClientCredentialDetails(**kwargs)

Bases: object

CreateOAuth2ClientCredentialDetails model.

Methods

__init__(**kwargs) Initializes a new CreateOAuth2ClientCredentialDetails object with values from keyword arguments.

Attributes

description [Required] Gets the description of this CreateOAuth2ClientCredentialDetails.
name [Required] Gets the name of this CreateOAuth2ClientCredentialDetails.
scopes [Required] Gets the scopes of this CreateOAuth2ClientCredentialDetails.
__init__(**kwargs)

Initializes a new CreateOAuth2ClientCredentialDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this CreateOAuth2ClientCredentialDetails.
  • description (str) – The value to assign to the description property of this CreateOAuth2ClientCredentialDetails.
  • scopes (list[FullyQualifiedScope]) – The value to assign to the scopes property of this CreateOAuth2ClientCredentialDetails.
description

[Required] Gets the description of this CreateOAuth2ClientCredentialDetails. Description of the oauth credential to help user differentiate them.

Returns:The description of this CreateOAuth2ClientCredentialDetails.
Return type:str
name

[Required] Gets the name of this CreateOAuth2ClientCredentialDetails. Name of the oauth credential to help user differentiate them.

Returns:The name of this CreateOAuth2ClientCredentialDetails.
Return type:str
scopes

[Required] Gets the scopes of this CreateOAuth2ClientCredentialDetails. Allowed scopes for the given oauth credential.

Returns:The scopes of this CreateOAuth2ClientCredentialDetails.
Return type:list[FullyQualifiedScope]