MyTrustedUserAgent

class oci.identity_domains.models.MyTrustedUserAgent(**kwargs)

Bases: object

This schema defines the attributes of Trusted User Agents owned by users. Multi-Factor Authentication uses Trusted User Agents to authenticate users. A User Agent is software application that a user uses to issue requests. For example, a User Agent could be a particular browser (possibly one of several executing on a desktop or laptop) or a particular mobile application (again, one of several executing on a particular mobile device). A User Agent is trusted once the Multi-Factor Authentication has verified it in some way.

Attributes

IDCS_PREVENTED_OPERATIONS_DELETE A constant which can be used with the idcs_prevented_operations property of a MyTrustedUserAgent.
IDCS_PREVENTED_OPERATIONS_REPLACE A constant which can be used with the idcs_prevented_operations property of a MyTrustedUserAgent.
IDCS_PREVENTED_OPERATIONS_UPDATE A constant which can be used with the idcs_prevented_operations property of a MyTrustedUserAgent.
TOKEN_TYPE_KMSI A constant which can be used with the token_type property of a MyTrustedUserAgent.
TOKEN_TYPE_TRUSTED A constant which can be used with the token_type property of a MyTrustedUserAgent.
compartment_ocid Gets the compartment_ocid of this MyTrustedUserAgent.
delete_in_progress Gets the delete_in_progress of this MyTrustedUserAgent.
domain_ocid Gets the domain_ocid of this MyTrustedUserAgent.
expiry_time Gets the expiry_time of this MyTrustedUserAgent.
id Gets the id of this MyTrustedUserAgent.
idcs_created_by Gets the idcs_created_by of this MyTrustedUserAgent.
idcs_last_modified_by Gets the idcs_last_modified_by of this MyTrustedUserAgent.
idcs_last_upgraded_in_release Gets the idcs_last_upgraded_in_release of this MyTrustedUserAgent.
idcs_prevented_operations Gets the idcs_prevented_operations of this MyTrustedUserAgent.
last_used_on Gets the last_used_on of this MyTrustedUserAgent.
location Gets the location of this MyTrustedUserAgent.
meta Gets the meta of this MyTrustedUserAgent.
name [Required] Gets the name of this MyTrustedUserAgent.
ocid Gets the ocid of this MyTrustedUserAgent.
platform Gets the platform of this MyTrustedUserAgent.
schemas [Required] Gets the schemas of this MyTrustedUserAgent.
tags Gets the tags of this MyTrustedUserAgent.
tenancy_ocid Gets the tenancy_ocid of this MyTrustedUserAgent.
token_type Gets the token_type of this MyTrustedUserAgent.
trust_token [Required] Gets the trust_token of this MyTrustedUserAgent.
trusted_factors Gets the trusted_factors of this MyTrustedUserAgent.
user [Required] Gets the user of this MyTrustedUserAgent.

Methods

__init__(**kwargs) Initializes a new MyTrustedUserAgent object with values from keyword arguments.
IDCS_PREVENTED_OPERATIONS_DELETE = 'delete'

A constant which can be used with the idcs_prevented_operations property of a MyTrustedUserAgent. This constant has a value of “delete”

IDCS_PREVENTED_OPERATIONS_REPLACE = 'replace'

A constant which can be used with the idcs_prevented_operations property of a MyTrustedUserAgent. This constant has a value of “replace”

IDCS_PREVENTED_OPERATIONS_UPDATE = 'update'

A constant which can be used with the idcs_prevented_operations property of a MyTrustedUserAgent. This constant has a value of “update”

TOKEN_TYPE_KMSI = 'KMSI'

A constant which can be used with the token_type property of a MyTrustedUserAgent. This constant has a value of “KMSI”

TOKEN_TYPE_TRUSTED = 'TRUSTED'

A constant which can be used with the token_type property of a MyTrustedUserAgent. This constant has a value of “TRUSTED”

__init__(**kwargs)

Initializes a new MyTrustedUserAgent 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 MyTrustedUserAgent.
  • ocid (str) – The value to assign to the ocid property of this MyTrustedUserAgent.
  • schemas (list[str]) – The value to assign to the schemas property of this MyTrustedUserAgent.
  • meta (oci.identity_domains.models.Meta) – The value to assign to the meta property of this MyTrustedUserAgent.
  • idcs_created_by (oci.identity_domains.models.IdcsCreatedBy) – The value to assign to the idcs_created_by property of this MyTrustedUserAgent.
  • idcs_last_modified_by (oci.identity_domains.models.IdcsLastModifiedBy) – The value to assign to the idcs_last_modified_by property of this MyTrustedUserAgent.
  • idcs_prevented_operations (list[str]) – The value to assign to the idcs_prevented_operations property of this MyTrustedUserAgent. Allowed values for items in this list are: “replace”, “update”, “delete”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • tags (list[oci.identity_domains.models.Tags]) – The value to assign to the tags property of this MyTrustedUserAgent.
  • delete_in_progress (bool) – The value to assign to the delete_in_progress property of this MyTrustedUserAgent.
  • idcs_last_upgraded_in_release (str) – The value to assign to the idcs_last_upgraded_in_release property of this MyTrustedUserAgent.
  • domain_ocid (str) – The value to assign to the domain_ocid property of this MyTrustedUserAgent.
  • compartment_ocid (str) – The value to assign to the compartment_ocid property of this MyTrustedUserAgent.
  • tenancy_ocid (str) – The value to assign to the tenancy_ocid property of this MyTrustedUserAgent.
  • name (str) – The value to assign to the name property of this MyTrustedUserAgent.
  • trust_token (str) – The value to assign to the trust_token property of this MyTrustedUserAgent.
  • location (str) – The value to assign to the location property of this MyTrustedUserAgent.
  • platform (str) – The value to assign to the platform property of this MyTrustedUserAgent.
  • expiry_time (str) – The value to assign to the expiry_time property of this MyTrustedUserAgent.
  • last_used_on (str) – The value to assign to the last_used_on property of this MyTrustedUserAgent.
  • token_type (str) – The value to assign to the token_type property of this MyTrustedUserAgent. Allowed values for this property are: “KMSI”, “TRUSTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • trusted_factors (list[oci.identity_domains.models.MyTrustedUserAgentTrustedFactors]) – The value to assign to the trusted_factors property of this MyTrustedUserAgent.
  • user (oci.identity_domains.models.MyTrustedUserAgentUser) – The value to assign to the user property of this MyTrustedUserAgent.
compartment_ocid

Gets the compartment_ocid of this MyTrustedUserAgent. OCI Compartment Id (ocid) in which the resource lives.

SCIM++ Properties:
  • caseExact: false
  • idcsSearchable: false
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: string
  • uniqueness: none
Returns:The compartment_ocid of this MyTrustedUserAgent.
Return type:str
delete_in_progress

Gets the delete_in_progress of this MyTrustedUserAgent. A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long.

SCIM++ Properties:
  • caseExact: false
  • idcsSearchable: true
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: boolean
  • uniqueness: none
Returns:The delete_in_progress of this MyTrustedUserAgent.
Return type:bool
domain_ocid

Gets the domain_ocid of this MyTrustedUserAgent. OCI Domain Id (ocid) in which the resource lives.

SCIM++ Properties:
  • caseExact: false
  • idcsSearchable: false
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: string
  • uniqueness: none
Returns:The domain_ocid of this MyTrustedUserAgent.
Return type:str
expiry_time

Gets the expiry_time of this MyTrustedUserAgent. Validation period of the trust token.

SCIM++ Properties:
  • caseExact: true
  • idcsSearchable: true
  • multiValued: false
  • mutability: readOnly
  • idcsRequiresWriteForAccessFlows: true
  • required: false
  • returned: default
  • type: dateTime
  • uniqueness: none
Returns:The expiry_time of this MyTrustedUserAgent.
Return type:str
id

Gets the id of this MyTrustedUserAgent. Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider’s entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier.

SCIM++ Properties:
  • caseExact: false
  • idcsSearchable: true
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: always
  • type: string
  • uniqueness: global
Returns:The id of this MyTrustedUserAgent.
Return type:str
idcs_created_by

Gets the idcs_created_by of this MyTrustedUserAgent.

Returns:The idcs_created_by of this MyTrustedUserAgent.
Return type:oci.identity_domains.models.IdcsCreatedBy
idcs_last_modified_by

Gets the idcs_last_modified_by of this MyTrustedUserAgent.

Returns:The idcs_last_modified_by of this MyTrustedUserAgent.
Return type:oci.identity_domains.models.IdcsLastModifiedBy
idcs_last_upgraded_in_release

Gets the idcs_last_upgraded_in_release of this MyTrustedUserAgent. The release number when the resource was upgraded.

SCIM++ Properties:
  • caseExact: false
  • idcsSearchable: false
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: request
  • type: string
  • uniqueness: none
Returns:The idcs_last_upgraded_in_release of this MyTrustedUserAgent.
Return type:str
idcs_prevented_operations

Gets the idcs_prevented_operations of this MyTrustedUserAgent. Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.

SCIM++ Properties:
  • idcsSearchable: false
  • multiValued: true
  • mutability: readOnly
  • required: false
  • returned: request
  • type: string
  • uniqueness: none

Allowed values for items in this list are: “replace”, “update”, “delete”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The idcs_prevented_operations of this MyTrustedUserAgent.
Return type:list[str]
last_used_on

Gets the last_used_on of this MyTrustedUserAgent. Indicates when this token was used lastime.

Added In: 2111190457

SCIM++ Properties:
  • caseExact: true
  • idcsSearchable: false
  • multiValued: false
  • mutability: readWrite
  • idcsRequiresWriteForAccessFlows: true
  • required: false
  • returned: default
  • type: dateTime
  • uniqueness: none
Returns:The last_used_on of this MyTrustedUserAgent.
Return type:str
location

Gets the location of this MyTrustedUserAgent. Trust token issued geo-location.

SCIM++ Properties:
  • caseExact: false
  • idcsSearchable: false
  • multiValued: false
  • mutability: immutable
  • idcsRequiresWriteForAccessFlows: true
  • required: false
  • returned: default
  • type: string
  • uniqueness: none
Returns:The location of this MyTrustedUserAgent.
Return type:str
meta

Gets the meta of this MyTrustedUserAgent.

Returns:The meta of this MyTrustedUserAgent.
Return type:oci.identity_domains.models.Meta
name

[Required] Gets the name of this MyTrustedUserAgent. The name of the User Agent that the user wants the system to trust and to use in Multi-Factor Authentication.

SCIM++ Properties:
  • caseExact: false
  • idcsSearchable: false
  • multiValued: false
  • mutability: immutable
  • idcsRequiresWriteForAccessFlows: true
  • required: true
  • returned: always
  • type: string
  • uniqueness: none
Returns:The name of this MyTrustedUserAgent.
Return type:str
ocid

Gets the ocid of this MyTrustedUserAgent. Unique OCI identifier for the SCIM Resource.

SCIM++ Properties:
  • caseExact: true
  • idcsSearchable: true
  • multiValued: false
  • mutability: immutable
  • required: false
  • returned: default
  • type: string
  • uniqueness: global
Returns:The ocid of this MyTrustedUserAgent.
Return type:str
platform

Gets the platform of this MyTrustedUserAgent. User agent platform for which the trust token has been issued.

SCIM++ Properties:
  • idcsSearchable: true
  • multiValued: false
  • mutability: immutable
  • idcsRequiresWriteForAccessFlows: true
  • required: false
  • returned: default
  • type: string
  • uniqueness: none
Returns:The platform of this MyTrustedUserAgent.
Return type:str
schemas

[Required] Gets the schemas of this MyTrustedUserAgent. REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard “enterprise” extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.

SCIM++ Properties:
  • caseExact: false
  • idcsSearchable: false
  • multiValued: true
  • mutability: readWrite
  • required: true
  • returned: default
  • type: string
  • uniqueness: none
Returns:The schemas of this MyTrustedUserAgent.
Return type:list[str]
tags

Gets the tags of this MyTrustedUserAgent. A list of tags on this resource.

SCIM++ Properties:
  • idcsCompositeKey: [key, value]
  • idcsSearchable: true
  • multiValued: true
  • mutability: readWrite
  • required: false
  • returned: request
  • type: complex
  • uniqueness: none
Returns:The tags of this MyTrustedUserAgent.
Return type:list[oci.identity_domains.models.Tags]
tenancy_ocid

Gets the tenancy_ocid of this MyTrustedUserAgent. OCI Tenant Id (ocid) in which the resource lives.

SCIM++ Properties:
  • caseExact: false
  • idcsSearchable: false
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: string
  • uniqueness: none
Returns:The tenancy_ocid of this MyTrustedUserAgent.
Return type:str
token_type

Gets the token_type of this MyTrustedUserAgent. The token type being created. This token is used as trusted and kmsi token.

Added In: 2111190457

SCIM++ Properties:
  • idcsSearchable: true
  • multiValued: false
  • mutability: readWrite
  • idcsRequiresWriteForAccessFlows: true
  • required: false
  • returned: default
  • type: string
  • uniqueness: none

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

Returns:The token_type of this MyTrustedUserAgent.
Return type:str
trust_token

[Required] Gets the trust_token of this MyTrustedUserAgent. Trust token for the user agent. This is a random string value that will be updated whenever a token that has been issued is verified successfully.

SCIM++ Properties:
  • caseExact: false
  • idcsSearchable: false
  • idcsSensitive: none
  • multiValued: false
  • mutability: readOnly
  • idcsRequiresWriteForAccessFlows: true
  • required: true
  • returned: always
  • type: string
  • uniqueness: none
Returns:The trust_token of this MyTrustedUserAgent.
Return type:str
trusted_factors

Gets the trusted_factors of this MyTrustedUserAgent. Trusted 2FA Factors

Added In: 19.2.1

SCIM++ Properties:
  • caseExact: true
  • idcsCompositeKey: [type]
  • idcsSearchable: true
  • multiValued: true
  • mutability: readWrite
  • required: false
  • returned: default
  • type: complex
Returns:The trusted_factors of this MyTrustedUserAgent.
Return type:list[oci.identity_domains.models.MyTrustedUserAgentTrustedFactors]
user

[Required] Gets the user of this MyTrustedUserAgent.

Returns:The user of this MyTrustedUserAgent.
Return type:oci.identity_domains.models.MyTrustedUserAgentUser