AuthenticationProviderSummary

class oci.oda.models.AuthenticationProviderSummary(**kwargs)

Bases: object

Summary of the Authentication Provider.

Attributes:

GRANT_TYPE_AUTHORIZATION_CODE

A constant which can be used with the grant_type property of a AuthenticationProviderSummary.

GRANT_TYPE_CLIENT_CREDENTIALS

A constant which can be used with the grant_type property of a AuthenticationProviderSummary.

IDENTITY_PROVIDER_GENERIC

A constant which can be used with the identity_provider property of a AuthenticationProviderSummary.

IDENTITY_PROVIDER_GOOGLE

A constant which can be used with the identity_provider property of a AuthenticationProviderSummary.

IDENTITY_PROVIDER_MICROSOFT

A constant which can be used with the identity_provider property of a AuthenticationProviderSummary.

IDENTITY_PROVIDER_OAM

A constant which can be used with the identity_provider property of a AuthenticationProviderSummary.

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a AuthenticationProviderSummary.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a AuthenticationProviderSummary.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a AuthenticationProviderSummary.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a AuthenticationProviderSummary.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a AuthenticationProviderSummary.

LIFECYCLE_STATE_INACTIVE

A constant which can be used with the lifecycle_state property of a AuthenticationProviderSummary.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a AuthenticationProviderSummary.

defined_tags

Gets the defined_tags of this AuthenticationProviderSummary.

freeform_tags

Gets the freeform_tags of this AuthenticationProviderSummary.

grant_type

[Required] Gets the grant_type of this AuthenticationProviderSummary.

id

[Required] Gets the id of this AuthenticationProviderSummary.

identity_provider

[Required] Gets the identity_provider of this AuthenticationProviderSummary.

lifecycle_state

[Required] Gets the lifecycle_state of this AuthenticationProviderSummary.

name

[Required] Gets the name of this AuthenticationProviderSummary.

time_created

[Required] Gets the time_created of this AuthenticationProviderSummary.

time_updated

[Required] Gets the time_updated of this AuthenticationProviderSummary.

Methods:

__init__(**kwargs)

Initializes a new AuthenticationProviderSummary object with values from keyword arguments.

GRANT_TYPE_AUTHORIZATION_CODE = 'AUTHORIZATION_CODE'

A constant which can be used with the grant_type property of a AuthenticationProviderSummary. This constant has a value of “AUTHORIZATION_CODE”

GRANT_TYPE_CLIENT_CREDENTIALS = 'CLIENT_CREDENTIALS'

A constant which can be used with the grant_type property of a AuthenticationProviderSummary. This constant has a value of “CLIENT_CREDENTIALS”

IDENTITY_PROVIDER_GENERIC = 'GENERIC'

A constant which can be used with the identity_provider property of a AuthenticationProviderSummary. This constant has a value of “GENERIC”

IDENTITY_PROVIDER_GOOGLE = 'GOOGLE'

A constant which can be used with the identity_provider property of a AuthenticationProviderSummary. This constant has a value of “GOOGLE”

IDENTITY_PROVIDER_MICROSOFT = 'MICROSOFT'

A constant which can be used with the identity_provider property of a AuthenticationProviderSummary. This constant has a value of “MICROSOFT”

IDENTITY_PROVIDER_OAM = 'OAM'

A constant which can be used with the identity_provider property of a AuthenticationProviderSummary. This constant has a value of “OAM”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a AuthenticationProviderSummary. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a AuthenticationProviderSummary. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a AuthenticationProviderSummary. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a AuthenticationProviderSummary. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a AuthenticationProviderSummary. This constant has a value of “FAILED”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a AuthenticationProviderSummary. This constant has a value of “INACTIVE”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a AuthenticationProviderSummary. This constant has a value of “UPDATING”

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this AuthenticationProviderSummary.

  • grant_type (str) – The value to assign to the grant_type property of this AuthenticationProviderSummary. Allowed values for this property are: “CLIENT_CREDENTIALS”, “AUTHORIZATION_CODE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • identity_provider (str) – The value to assign to the identity_provider property of this AuthenticationProviderSummary. Allowed values for this property are: “GENERIC”, “OAM”, “GOOGLE”, “MICROSOFT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • name (str) – The value to assign to the name property of this AuthenticationProviderSummary.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this AuthenticationProviderSummary. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • time_created (datetime) – The value to assign to the time_created property of this AuthenticationProviderSummary.

  • time_updated (datetime) – The value to assign to the time_updated property of this AuthenticationProviderSummary.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AuthenticationProviderSummary.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AuthenticationProviderSummary.

property defined_tags

Gets the defined_tags of this AuthenticationProviderSummary. Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this AuthenticationProviderSummary.

Return type

dict(str, dict(str, object))

property freeform_tags

Gets the freeform_tags of this AuthenticationProviderSummary. Simple key-value pair that is applied without any predefined name, type, or scope. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this AuthenticationProviderSummary.

Return type

dict(str, str)

property grant_type

[Required] Gets the grant_type of this AuthenticationProviderSummary. The grant type for the Authentication Provider.

Allowed values for this property are: “CLIENT_CREDENTIALS”, “AUTHORIZATION_CODE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The grant_type of this AuthenticationProviderSummary.

Return type

str

property id

[Required] Gets the id of this AuthenticationProviderSummary. Unique immutable identifier that was assigned when the Authentication Provider was created.

Returns

The id of this AuthenticationProviderSummary.

Return type

str

property identity_provider

[Required] Gets the identity_provider of this AuthenticationProviderSummary. Which type of Identity Provider (IDP) you are using.

Allowed values for this property are: “GENERIC”, “OAM”, “GOOGLE”, “MICROSOFT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The identity_provider of this AuthenticationProviderSummary.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this AuthenticationProviderSummary. The Authentication Provider’s current state.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this AuthenticationProviderSummary.

Return type

str

property name

[Required] Gets the name of this AuthenticationProviderSummary. A name to identify the Authentication Provider.

Returns

The name of this AuthenticationProviderSummary.

Return type

str

property time_created

[Required] Gets the time_created of this AuthenticationProviderSummary. When the resource was created. A date-time string as described in RFC 3339, section 14.29.

Returns

The time_created of this AuthenticationProviderSummary.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this AuthenticationProviderSummary. When the resource was last updated. A date-time string as described in RFC 3339, section 14.29.

Returns

The time_updated of this AuthenticationProviderSummary.

Return type

datetime