OauthMetadata

class oci.key_management.models.OauthMetadata(**kwargs)

Bases: object

Authorization details required to get access token from IDP for accessing protected resources.

Methods

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

Attributes

client_app_id [Required] Gets the client_app_id of this OauthMetadata.
client_app_secret [Required] Gets the client_app_secret of this OauthMetadata.
idcs_account_name_url [Required] Gets the idcs_account_name_url of this OauthMetadata.
__init__(**kwargs)

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

Parameters:
  • idcs_account_name_url (str) – The value to assign to the idcs_account_name_url property of this OauthMetadata.
  • client_app_id (str) – The value to assign to the client_app_id property of this OauthMetadata.
  • client_app_secret (str) – The value to assign to the client_app_secret property of this OauthMetadata.
client_app_id

[Required] Gets the client_app_id of this OauthMetadata. ID of the client app created in IDP.

Returns:The client_app_id of this OauthMetadata.
Return type:str
client_app_secret

[Required] Gets the client_app_secret of this OauthMetadata. Secret of the client app created in IDP.

Returns:The client_app_secret of this OauthMetadata.
Return type:str
idcs_account_name_url

[Required] Gets the idcs_account_name_url of this OauthMetadata. Base URL of the IDCS account where confidential client app is created.

Returns:The idcs_account_name_url of this OauthMetadata.
Return type:str