Class: OCI::IdentityDomains::Models::MyAuthenticationFactorValidator
- Inherits:
-
Object
- Object
- OCI::IdentityDomains::Models::MyAuthenticationFactorValidator
- Defined in:
- lib/oci/identity_domains/models/my_authentication_factor_validator.rb
Overview
Validate any given Authentication Factor
Constant Summary collapse
- IDCS_PREVENTED_OPERATIONS_ENUM =
[ IDCS_PREVENTED_OPERATIONS_REPLACE = 'replace'.freeze, IDCS_PREVENTED_OPERATIONS_UPDATE = 'update'.freeze, IDCS_PREVENTED_OPERATIONS_DELETE = 'delete'.freeze, IDCS_PREVENTED_OPERATIONS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- AUTH_FACTOR_ENUM =
[ AUTH_FACTOR_USERNAME_PASSWORD = 'USERNAME_PASSWORD'.freeze, AUTH_FACTOR_PUSH = 'PUSH'.freeze, AUTH_FACTOR_TOTP = 'TOTP'.freeze, AUTH_FACTOR_EMAIL = 'EMAIL'.freeze, AUTH_FACTOR_SMS = 'SMS'.freeze, AUTH_FACTOR_VOICE = 'VOICE'.freeze, AUTH_FACTOR_BYPASSCODE = 'BYPASSCODE'.freeze, AUTH_FACTOR_SECURITY_QUESTIONS = 'SECURITY_QUESTIONS'.freeze, AUTH_FACTOR_TRUST_TOKEN = 'TRUST_TOKEN'.freeze, AUTH_FACTOR_PHONE_CALL = 'PHONE_CALL'.freeze, AUTH_FACTOR_THIRDPARTY = 'THIRDPARTY'.freeze, AUTH_FACTOR_FIDO_AUTHENTICATOR = 'FIDO_AUTHENTICATOR'.freeze, AUTH_FACTOR_YUBICO_OTP = 'YUBICO_OTP'.freeze, AUTH_FACTOR_KMSI_TOKEN = 'KMSI_TOKEN'.freeze, AUTH_FACTOR_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- SCENARIO_ENUM =
[ SCENARIO_ENROLLMENT = 'ENROLLMENT'.freeze, SCENARIO_AUTHENTICATION = 'AUTHENTICATION'.freeze, SCENARIO_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- STATUS_ENUM =
[ STATUS_SUCCESS = 'SUCCESS'.freeze, STATUS_FAILURE = 'FAILURE'.freeze, STATUS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- TYPE_ENUM =
[ TYPE_SAML = 'SAML'.freeze, TYPE_OIDC = 'OIDC'.freeze, TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- PREFERENCE_TYPE_ENUM =
[ PREFERENCE_TYPE_PASSWORDLESS = 'PASSWORDLESS'.freeze, PREFERENCE_TYPE_MFA = 'MFA'.freeze, PREFERENCE_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
Instance Attribute Summary collapse
-
#additional_attributes ⇒ Array<OCI::IdentityDomains::Models::MyAuthenticationFactorValidatorAdditionalAttributes>
Additional attributes which will be sent as part of a push notification.
-
#auth_factor ⇒ String
[Required] Authentication Factor which is being validated.
-
#compartment_ocid ⇒ String
OCI Compartment Id (ocid) in which the resource lives.
-
#create_kmsi_token ⇒ BOOLEAN
Indicates to create kmsi token.
-
#create_trusted_agent ⇒ BOOLEAN
Indicates to create trust token.
-
#delete_in_progress ⇒ BOOLEAN
A boolean flag indicating this resource in the process of being deleted.
-
#device_id ⇒ String
Device id whose factor is being validated.
-
#display_name ⇒ String
Display name of the verified device.
-
#domain_ocid ⇒ String
OCI Domain Id (ocid) in which the resource lives.
-
#id ⇒ String
Unique identifier for the SCIM Resource as defined by the Service Provider.
- #idcs_created_by ⇒ OCI::IdentityDomains::Models::IdcsCreatedBy
- #idcs_last_modified_by ⇒ OCI::IdentityDomains::Models::IdcsLastModifiedBy
-
#idcs_last_upgraded_in_release ⇒ String
The release number when the resource was upgraded.
-
#idcs_prevented_operations ⇒ Array<String>
Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.
-
#is_acc_rec_enabled ⇒ BOOLEAN
Flag indicates whether the factor is enrolled in account recovery.
-
#kmsi_token_id ⇒ String
KMSI token resource identifier.
-
#location ⇒ String
Location of the trusted client.
-
#message ⇒ String
Validator message which is passed by the client.
- #meta ⇒ OCI::IdentityDomains::Models::Meta
-
#name ⇒ String
Name of the client to be trusted.
-
#ocid ⇒ String
Unique OCI identifier for the SCIM Resource.
-
#otp_code ⇒ String
The One Time Passcode which needs to be validated.
-
#platform ⇒ String
Platform of the client to be trusted.
-
#policy_enabled_second_factors ⇒ Array<String>
Sign-On Policy dictated allowed second factors.
-
#policy_trusted_frequency_mins ⇒ Integer
Sign-On Policy dictated validity duration for trusted client in Minutes.
-
#preference_type ⇒ String
Indicates whether to user passwordless factor to be updated or mfa factor to be updated.
-
#request_id ⇒ String
Request ID which is being validated.
-
#scenario ⇒ String
[Required] Specifies whether the service is being used to enroll or validate a factor.
-
#schemas ⇒ Array<String>
[Required] REQUIRED.
-
#security_questions ⇒ Array<OCI::IdentityDomains::Models::MyAuthenticationFactorValidatorSecurityQuestions>
List of security questions the user has submitted to get authenticated.
-
#status ⇒ String
Validation status returned in the response.
-
#tags ⇒ Array<OCI::IdentityDomains::Models::Tags>
A list of tags on this resource.
-
#tenancy_ocid ⇒ String
OCI Tenant Id (ocid) in which the resource lives.
- #third_party_factor ⇒ OCI::IdentityDomains::Models::MyAuthenticationFactorValidatorThirdPartyFactor
-
#trusted_token_id ⇒ String
Trusted token resource identifier.
-
#type ⇒ String
type indicating whether the flow is OIDC, SAML etc.,.
-
#update_user_preference ⇒ BOOLEAN
Indicates whether to update user preferred mfa factor or not.
-
#user_id ⇒ String
User guid for whom the validation has initiated.
-
#user_name ⇒ String
User name for whom the validation has initiated.
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(other) ⇒ Object
Checks equality by comparing each attribute.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(other) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ MyAuthenticationFactorValidator
constructor
Initializes the object.
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
Constructor Details
#initialize(attributes = {}) ⇒ MyAuthenticationFactorValidator
Initializes the object
667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 667 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } self.id = attributes[:'id'] if attributes[:'id'] self.ocid = attributes[:'ocid'] if attributes[:'ocid'] self.schemas = attributes[:'schemas'] if attributes[:'schemas'] self. = attributes[:'meta'] if attributes[:'meta'] self.idcs_created_by = attributes[:'idcsCreatedBy'] if attributes[:'idcsCreatedBy'] raise 'You cannot provide both :idcsCreatedBy and :idcs_created_by' if attributes.key?(:'idcsCreatedBy') && attributes.key?(:'idcs_created_by') self.idcs_created_by = attributes[:'idcs_created_by'] if attributes[:'idcs_created_by'] self.idcs_last_modified_by = attributes[:'idcsLastModifiedBy'] if attributes[:'idcsLastModifiedBy'] raise 'You cannot provide both :idcsLastModifiedBy and :idcs_last_modified_by' if attributes.key?(:'idcsLastModifiedBy') && attributes.key?(:'idcs_last_modified_by') self.idcs_last_modified_by = attributes[:'idcs_last_modified_by'] if attributes[:'idcs_last_modified_by'] self.idcs_prevented_operations = attributes[:'idcsPreventedOperations'] if attributes[:'idcsPreventedOperations'] raise 'You cannot provide both :idcsPreventedOperations and :idcs_prevented_operations' if attributes.key?(:'idcsPreventedOperations') && attributes.key?(:'idcs_prevented_operations') self.idcs_prevented_operations = attributes[:'idcs_prevented_operations'] if attributes[:'idcs_prevented_operations'] self. = attributes[:'tags'] if attributes[:'tags'] self.delete_in_progress = attributes[:'deleteInProgress'] unless attributes[:'deleteInProgress'].nil? raise 'You cannot provide both :deleteInProgress and :delete_in_progress' if attributes.key?(:'deleteInProgress') && attributes.key?(:'delete_in_progress') self.delete_in_progress = attributes[:'delete_in_progress'] unless attributes[:'delete_in_progress'].nil? self.idcs_last_upgraded_in_release = attributes[:'idcsLastUpgradedInRelease'] if attributes[:'idcsLastUpgradedInRelease'] raise 'You cannot provide both :idcsLastUpgradedInRelease and :idcs_last_upgraded_in_release' if attributes.key?(:'idcsLastUpgradedInRelease') && attributes.key?(:'idcs_last_upgraded_in_release') self.idcs_last_upgraded_in_release = attributes[:'idcs_last_upgraded_in_release'] if attributes[:'idcs_last_upgraded_in_release'] self.domain_ocid = attributes[:'domainOcid'] if attributes[:'domainOcid'] raise 'You cannot provide both :domainOcid and :domain_ocid' if attributes.key?(:'domainOcid') && attributes.key?(:'domain_ocid') self.domain_ocid = attributes[:'domain_ocid'] if attributes[:'domain_ocid'] self.compartment_ocid = attributes[:'compartmentOcid'] if attributes[:'compartmentOcid'] raise 'You cannot provide both :compartmentOcid and :compartment_ocid' if attributes.key?(:'compartmentOcid') && attributes.key?(:'compartment_ocid') self.compartment_ocid = attributes[:'compartment_ocid'] if attributes[:'compartment_ocid'] self.tenancy_ocid = attributes[:'tenancyOcid'] if attributes[:'tenancyOcid'] raise 'You cannot provide both :tenancyOcid and :tenancy_ocid' if attributes.key?(:'tenancyOcid') && attributes.key?(:'tenancy_ocid') self.tenancy_ocid = attributes[:'tenancy_ocid'] if attributes[:'tenancy_ocid'] self.auth_factor = attributes[:'authFactor'] if attributes[:'authFactor'] raise 'You cannot provide both :authFactor and :auth_factor' if attributes.key?(:'authFactor') && attributes.key?(:'auth_factor') self.auth_factor = attributes[:'auth_factor'] if attributes[:'auth_factor'] self.scenario = attributes[:'scenario'] if attributes[:'scenario'] self.request_id = attributes[:'requestId'] if attributes[:'requestId'] raise 'You cannot provide both :requestId and :request_id' if attributes.key?(:'requestId') && attributes.key?(:'request_id') self.request_id = attributes[:'request_id'] if attributes[:'request_id'] self.otp_code = attributes[:'otpCode'] if attributes[:'otpCode'] raise 'You cannot provide both :otpCode and :otp_code' if attributes.key?(:'otpCode') && attributes.key?(:'otp_code') self.otp_code = attributes[:'otp_code'] if attributes[:'otp_code'] self.device_id = attributes[:'deviceId'] if attributes[:'deviceId'] raise 'You cannot provide both :deviceId and :device_id' if attributes.key?(:'deviceId') && attributes.key?(:'device_id') self.device_id = attributes[:'device_id'] if attributes[:'device_id'] self.status = attributes[:'status'] if attributes[:'status'] self.user_id = attributes[:'userId'] if attributes[:'userId'] raise 'You cannot provide both :userId and :user_id' if attributes.key?(:'userId') && attributes.key?(:'user_id') self.user_id = attributes[:'user_id'] if attributes[:'user_id'] self.user_name = attributes[:'userName'] if attributes[:'userName'] raise 'You cannot provide both :userName and :user_name' if attributes.key?(:'userName') && attributes.key?(:'user_name') self.user_name = attributes[:'user_name'] if attributes[:'user_name'] self.display_name = attributes[:'displayName'] if attributes[:'displayName'] raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name') self.display_name = attributes[:'display_name'] if attributes[:'display_name'] self. = attributes[:'message'] if attributes[:'message'] self.type = attributes[:'type'] if attributes[:'type'] self.update_user_preference = attributes[:'updateUserPreference'] unless attributes[:'updateUserPreference'].nil? raise 'You cannot provide both :updateUserPreference and :update_user_preference' if attributes.key?(:'updateUserPreference') && attributes.key?(:'update_user_preference') self.update_user_preference = attributes[:'update_user_preference'] unless attributes[:'update_user_preference'].nil? self.preference_type = attributes[:'preferenceType'] if attributes[:'preferenceType'] raise 'You cannot provide both :preferenceType and :preference_type' if attributes.key?(:'preferenceType') && attributes.key?(:'preference_type') self.preference_type = attributes[:'preference_type'] if attributes[:'preference_type'] self.security_questions = attributes[:'securityQuestions'] if attributes[:'securityQuestions'] raise 'You cannot provide both :securityQuestions and :security_questions' if attributes.key?(:'securityQuestions') && attributes.key?(:'security_questions') self.security_questions = attributes[:'security_questions'] if attributes[:'security_questions'] self.name = attributes[:'name'] if attributes[:'name'] self.platform = attributes[:'platform'] if attributes[:'platform'] self.location = attributes[:'location'] if attributes[:'location'] self.trusted_token_id = attributes[:'trustedTokenId'] if attributes[:'trustedTokenId'] raise 'You cannot provide both :trustedTokenId and :trusted_token_id' if attributes.key?(:'trustedTokenId') && attributes.key?(:'trusted_token_id') self.trusted_token_id = attributes[:'trusted_token_id'] if attributes[:'trusted_token_id'] self.kmsi_token_id = attributes[:'kmsiTokenId'] if attributes[:'kmsiTokenId'] raise 'You cannot provide both :kmsiTokenId and :kmsi_token_id' if attributes.key?(:'kmsiTokenId') && attributes.key?(:'kmsi_token_id') self.kmsi_token_id = attributes[:'kmsi_token_id'] if attributes[:'kmsi_token_id'] self.policy_enabled_second_factors = attributes[:'policyEnabledSecondFactors'] if attributes[:'policyEnabledSecondFactors'] raise 'You cannot provide both :policyEnabledSecondFactors and :policy_enabled_second_factors' if attributes.key?(:'policyEnabledSecondFactors') && attributes.key?(:'policy_enabled_second_factors') self.policy_enabled_second_factors = attributes[:'policy_enabled_second_factors'] if attributes[:'policy_enabled_second_factors'] self.create_trusted_agent = attributes[:'createTrustedAgent'] unless attributes[:'createTrustedAgent'].nil? raise 'You cannot provide both :createTrustedAgent and :create_trusted_agent' if attributes.key?(:'createTrustedAgent') && attributes.key?(:'create_trusted_agent') self.create_trusted_agent = attributes[:'create_trusted_agent'] unless attributes[:'create_trusted_agent'].nil? self.create_kmsi_token = attributes[:'createKmsiToken'] unless attributes[:'createKmsiToken'].nil? raise 'You cannot provide both :createKmsiToken and :create_kmsi_token' if attributes.key?(:'createKmsiToken') && attributes.key?(:'create_kmsi_token') self.create_kmsi_token = attributes[:'create_kmsi_token'] unless attributes[:'create_kmsi_token'].nil? self.is_acc_rec_enabled = attributes[:'isAccRecEnabled'] unless attributes[:'isAccRecEnabled'].nil? raise 'You cannot provide both :isAccRecEnabled and :is_acc_rec_enabled' if attributes.key?(:'isAccRecEnabled') && attributes.key?(:'is_acc_rec_enabled') self.is_acc_rec_enabled = attributes[:'is_acc_rec_enabled'] unless attributes[:'is_acc_rec_enabled'].nil? self.policy_trusted_frequency_mins = attributes[:'policyTrustedFrequencyMins'] if attributes[:'policyTrustedFrequencyMins'] raise 'You cannot provide both :policyTrustedFrequencyMins and :policy_trusted_frequency_mins' if attributes.key?(:'policyTrustedFrequencyMins') && attributes.key?(:'policy_trusted_frequency_mins') self.policy_trusted_frequency_mins = attributes[:'policy_trusted_frequency_mins'] if attributes[:'policy_trusted_frequency_mins'] self.third_party_factor = attributes[:'thirdPartyFactor'] if attributes[:'thirdPartyFactor'] raise 'You cannot provide both :thirdPartyFactor and :third_party_factor' if attributes.key?(:'thirdPartyFactor') && attributes.key?(:'third_party_factor') self.third_party_factor = attributes[:'third_party_factor'] if attributes[:'third_party_factor'] self.additional_attributes = attributes[:'additionalAttributes'] if attributes[:'additionalAttributes'] raise 'You cannot provide both :additionalAttributes and :additional_attributes' if attributes.key?(:'additionalAttributes') && attributes.key?(:'additional_attributes') self.additional_attributes = attributes[:'additional_attributes'] if attributes[:'additional_attributes'] end |
Instance Attribute Details
#additional_attributes ⇒ Array<OCI::IdentityDomains::Models::MyAuthenticationFactorValidatorAdditionalAttributes>
Additional attributes which will be sent as part of a push notification
SCIM++ Properties: - idcsSearchable: false - multiValued: true - mutability: readWrite - required: false - returned: default - type: complex - uniqueness: none
526 527 528 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 526 def additional_attributes @additional_attributes end |
#auth_factor ⇒ String
[Required] Authentication Factor which is being validated
SCIM++ Properties: - type: string - multiValued: false - required: true - mutability: readWrite - returned: default - uniqueness: none - idcsSearchable: false
220 221 222 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 220 def auth_factor @auth_factor end |
#compartment_ocid ⇒ String
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
193 194 195 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 193 def compartment_ocid @compartment_ocid end |
#create_kmsi_token ⇒ BOOLEAN
Indicates to create kmsi token.
SCIM++ Properties: - type: boolean - multiValued: false - required: false - mutability: writeOnly - returned: never - uniqueness: none
484 485 486 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 484 def create_kmsi_token @create_kmsi_token end |
#create_trusted_agent ⇒ BOOLEAN
Indicates to create trust token.
SCIM++ Properties: - type: boolean - multiValued: false - required: false - mutability: writeOnly - returned: never - uniqueness: none
472 473 474 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 472 def create_trusted_agent @create_trusted_agent end |
#delete_in_progress ⇒ BOOLEAN
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
151 152 153 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 151 def delete_in_progress @delete_in_progress end |
#device_id ⇒ String
Device id whose factor is being validated
SCIM++ Properties: - type: string - multiValued: false - required: false - mutability: readWrite - returned: default - uniqueness: none - idcsSearchable: false
273 274 275 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 273 def device_id @device_id end |
#display_name ⇒ String
Display name of the verified device
SCIM++ Properties: - type: string - multiValued: false - required: false - mutability: readWrite - returned: default - uniqueness: none - idcsSearchable: false
326 327 328 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 326 def display_name @display_name end |
#domain_ocid ⇒ String
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
179 180 181 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 179 def domain_ocid @domain_ocid end |
#id ⇒ String
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
73 74 75 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 73 def id @id end |
#idcs_created_by ⇒ OCI::IdentityDomains::Models::IdcsCreatedBy
107 108 109 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 107 def idcs_created_by @idcs_created_by end |
#idcs_last_modified_by ⇒ OCI::IdentityDomains::Models::IdcsLastModifiedBy
110 111 112 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 110 def idcs_last_modified_by @idcs_last_modified_by end |
#idcs_last_upgraded_in_release ⇒ String
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
165 166 167 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 165 def idcs_last_upgraded_in_release @idcs_last_upgraded_in_release end |
#idcs_prevented_operations ⇒ Array<String>
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
123 124 125 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 123 def idcs_prevented_operations @idcs_prevented_operations end |
#is_acc_rec_enabled ⇒ BOOLEAN
Flag indicates whether the factor is enrolled in account recovery. If the value is not provided or false, then it will be treated as MFA factor validation.
SCIM++ Properties: - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: none
498 499 500 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 498 def is_acc_rec_enabled @is_acc_rec_enabled end |
#kmsi_token_id ⇒ String
KMSI token resource identifier.
SCIM++ Properties: - type: string - multiValued: false - required: false - mutability: writeOnly - returned: never - uniqueness: none
448 449 450 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 448 def kmsi_token_id @kmsi_token_id end |
#location ⇒ String
Location of the trusted client.
SCIM++ Properties: - type: string - multiValued: false - required: false - mutability: writeOnly - returned: never - uniqueness: none
424 425 426 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 424 def location @location end |
#message ⇒ String
Validator message which is passed by the client. When it is a PUSH notification, it can be a rejection message.
SCIM++ Properties: - type: string - multiValued: false - required: false - mutability: readWrite - returned: default - uniqueness: none - idcsSearchable: false
339 340 341 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 339 def @message end |
#meta ⇒ OCI::IdentityDomains::Models::Meta
104 105 106 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 104 def @meta end |
#name ⇒ String
Name of the client to be trusted
SCIM++ Properties: - type: string - multiValued: false - required: false - mutability: writeOnly - returned: never - uniqueness: none
400 401 402 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 400 def name @name end |
#ocid ⇒ String
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
87 88 89 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 87 def ocid @ocid end |
#otp_code ⇒ String
The One Time Passcode which needs to be validated
SCIM++ Properties: - type: string - multiValued: false - required: false - mutability: readWrite - returned: never - uniqueness: none - idcsSensitive: encrypt - idcsSearchable: false
260 261 262 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 260 def otp_code @otp_code end |
#platform ⇒ String
Platform of the client to be trusted
SCIM++ Properties: - type: string - multiValued: false - required: false - mutability: writeOnly - returned: never - uniqueness: none
412 413 414 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 412 def platform @platform end |
#policy_enabled_second_factors ⇒ Array<String>
Sign-On Policy dictated allowed second factors.
SCIM++ Properties: - type: string - multiValued: true - required: false - mutability: writeOnly - returned: never - uniqueness: none
460 461 462 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 460 def policy_enabled_second_factors @policy_enabled_second_factors end |
#policy_trusted_frequency_mins ⇒ Integer
Sign-On Policy dictated validity duration for trusted client in Minutes.
SCIM++ Properties: - type: integer - multiValued: false - required: false - mutability: writeOnly - returned: never - uniqueness: none
510 511 512 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 510 def policy_trusted_frequency_mins @policy_trusted_frequency_mins end |
#preference_type ⇒ String
Indicates whether to user passwordless factor to be updated or mfa factor to be updated
SCIM++ Properties: - type: string - multiValued: false - required: false - mutability: writeOnly - returned: never - uniqueness: none
375 376 377 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 375 def preference_type @preference_type end |
#request_id ⇒ String
Request ID which is being validated
SCIM++ Properties: - type: string - multiValued: false - required: false - mutability: readWrite - returned: default - uniqueness: none - idcsSearchable: false
246 247 248 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 246 def request_id @request_id end |
#scenario ⇒ String
[Required] Specifies whether the service is being used to enroll or validate a factor
SCIM++ Properties: - type: string - multiValued: false - required: true - mutability: readWrite - returned: default - uniqueness: none - idcsSearchable: false
233 234 235 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 233 def scenario @scenario end |
#schemas ⇒ Array<String>
[Required] 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
101 102 103 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 101 def schemas @schemas end |
#security_questions ⇒ Array<OCI::IdentityDomains::Models::MyAuthenticationFactorValidatorSecurityQuestions>
List of security questions the user has submitted to get authenticated.
SCIM++ Properties: - type: complex - multiValued: true - required: false - mutability: writeOnly - returned: never - uniqueness: none - idcsSearchable: false
388 389 390 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 388 def security_questions @security_questions end |
#status ⇒ String
Validation status returned in the response
SCIM++ Properties: - type: string - multiValued: false - required: false - mutability: readOnly - returned: default - uniqueness: none - idcsSearchable: false
286 287 288 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 286 def status @status end |
#tags ⇒ Array<OCI::IdentityDomains::Models::Tags>
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
137 138 139 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 137 def @tags end |
#tenancy_ocid ⇒ String
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
207 208 209 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 207 def tenancy_ocid @tenancy_ocid end |
#third_party_factor ⇒ OCI::IdentityDomains::Models::MyAuthenticationFactorValidatorThirdPartyFactor
513 514 515 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 513 def third_party_factor @third_party_factor end |
#trusted_token_id ⇒ String
Trusted token resource identifier.
SCIM++ Properties: - type: string - multiValued: false - required: false - mutability: writeOnly - returned: never - uniqueness: none
436 437 438 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 436 def trusted_token_id @trusted_token_id end |
#type ⇒ String
type indicating whether the flow is OIDC, SAML etc.,
SCIM++ Properties: - type: string - multiValued: false - required: false - mutability: writeOnly - returned: default - uniqueness: none
351 352 353 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 351 def type @type end |
#update_user_preference ⇒ BOOLEAN
Indicates whether to update user preferred mfa factor or not
SCIM++ Properties: - type: boolean - multiValued: false - required: false - mutability: writeOnly - returned: never - uniqueness: none
363 364 365 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 363 def update_user_preference @update_user_preference end |
#user_id ⇒ String
User guid for whom the validation has initiated. Optional.
SCIM++ Properties: - type: string - multiValued: false - required: false - mutability: readWrite - returned: default - uniqueness: none - idcsSearchable: false
299 300 301 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 299 def user_id @user_id end |
#user_name ⇒ String
User name for whom the validation has initiated
SCIM++ Properties: - type: string - multiValued: false - required: false - mutability: readWrite - returned: default - uniqueness: none - idcsSearchable: false - idcsPii: true
313 314 315 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 313 def user_name @user_name end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 529 def self.attribute_map { # rubocop:disable Style/SymbolLiteral 'id': :'id', 'ocid': :'ocid', 'schemas': :'schemas', 'meta': :'meta', 'idcs_created_by': :'idcsCreatedBy', 'idcs_last_modified_by': :'idcsLastModifiedBy', 'idcs_prevented_operations': :'idcsPreventedOperations', 'tags': :'tags', 'delete_in_progress': :'deleteInProgress', 'idcs_last_upgraded_in_release': :'idcsLastUpgradedInRelease', 'domain_ocid': :'domainOcid', 'compartment_ocid': :'compartmentOcid', 'tenancy_ocid': :'tenancyOcid', 'auth_factor': :'authFactor', 'scenario': :'scenario', 'request_id': :'requestId', 'otp_code': :'otpCode', 'device_id': :'deviceId', 'status': :'status', 'user_id': :'userId', 'user_name': :'userName', 'display_name': :'displayName', 'message': :'message', 'type': :'type', 'update_user_preference': :'updateUserPreference', 'preference_type': :'preferenceType', 'security_questions': :'securityQuestions', 'name': :'name', 'platform': :'platform', 'location': :'location', 'trusted_token_id': :'trustedTokenId', 'kmsi_token_id': :'kmsiTokenId', 'policy_enabled_second_factors': :'policyEnabledSecondFactors', 'create_trusted_agent': :'createTrustedAgent', 'create_kmsi_token': :'createKmsiToken', 'is_acc_rec_enabled': :'isAccRecEnabled', 'policy_trusted_frequency_mins': :'policyTrustedFrequencyMins', 'third_party_factor': :'thirdPartyFactor', 'additional_attributes': :'additionalAttributes' # rubocop:enable Style/SymbolLiteral } end |
.swagger_types ⇒ Object
Attribute type mapping.
576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 576 def self.swagger_types { # rubocop:disable Style/SymbolLiteral 'id': :'String', 'ocid': :'String', 'schemas': :'Array<String>', 'meta': :'OCI::IdentityDomains::Models::Meta', 'idcs_created_by': :'OCI::IdentityDomains::Models::IdcsCreatedBy', 'idcs_last_modified_by': :'OCI::IdentityDomains::Models::IdcsLastModifiedBy', 'idcs_prevented_operations': :'Array<String>', 'tags': :'Array<OCI::IdentityDomains::Models::Tags>', 'delete_in_progress': :'BOOLEAN', 'idcs_last_upgraded_in_release': :'String', 'domain_ocid': :'String', 'compartment_ocid': :'String', 'tenancy_ocid': :'String', 'auth_factor': :'String', 'scenario': :'String', 'request_id': :'String', 'otp_code': :'String', 'device_id': :'String', 'status': :'String', 'user_id': :'String', 'user_name': :'String', 'display_name': :'String', 'message': :'String', 'type': :'String', 'update_user_preference': :'BOOLEAN', 'preference_type': :'String', 'security_questions': :'Array<OCI::IdentityDomains::Models::MyAuthenticationFactorValidatorSecurityQuestions>', 'name': :'String', 'platform': :'String', 'location': :'String', 'trusted_token_id': :'String', 'kmsi_token_id': :'String', 'policy_enabled_second_factors': :'Array<String>', 'create_trusted_agent': :'BOOLEAN', 'create_kmsi_token': :'BOOLEAN', 'is_acc_rec_enabled': :'BOOLEAN', 'policy_trusted_frequency_mins': :'Integer', 'third_party_factor': :'OCI::IdentityDomains::Models::MyAuthenticationFactorValidatorThirdPartyFactor', 'additional_attributes': :'Array<OCI::IdentityDomains::Models::MyAuthenticationFactorValidatorAdditionalAttributes>' # rubocop:enable Style/SymbolLiteral } end |
Instance Method Details
#==(other) ⇒ Object
Checks equality by comparing each attribute.
952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 952 def ==(other) return true if equal?(other) self.class == other.class && id == other.id && ocid == other.ocid && schemas == other.schemas && == other. && idcs_created_by == other.idcs_created_by && idcs_last_modified_by == other.idcs_last_modified_by && idcs_prevented_operations == other.idcs_prevented_operations && == other. && delete_in_progress == other.delete_in_progress && idcs_last_upgraded_in_release == other.idcs_last_upgraded_in_release && domain_ocid == other.domain_ocid && compartment_ocid == other.compartment_ocid && tenancy_ocid == other.tenancy_ocid && auth_factor == other.auth_factor && scenario == other.scenario && request_id == other.request_id && otp_code == other.otp_code && device_id == other.device_id && status == other.status && user_id == other.user_id && user_name == other.user_name && display_name == other.display_name && == other. && type == other.type && update_user_preference == other.update_user_preference && preference_type == other.preference_type && security_questions == other.security_questions && name == other.name && platform == other.platform && location == other.location && trusted_token_id == other.trusted_token_id && kmsi_token_id == other.kmsi_token_id && policy_enabled_second_factors == other.policy_enabled_second_factors && create_trusted_agent == other.create_trusted_agent && create_kmsi_token == other.create_kmsi_token && is_acc_rec_enabled == other.is_acc_rec_enabled && policy_trusted_frequency_mins == other.policy_trusted_frequency_mins && third_party_factor == other.third_party_factor && additional_attributes == other.additional_attributes end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 1020 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) self.class.swagger_types.each_pair do |key, type| if type =~ /^Array<(.*)>/i # check to ensure the input is an array given that the the attribute # is documented as an array but the input is not if attributes[self.class.attribute_map[key]].is_a?(Array) public_method("#{key}=").call( attributes[self.class.attribute_map[key]] .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) } ) end elsif !attributes[self.class.attribute_map[key]].nil? public_method("#{key}=").call( OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]) ) end # or else data not found in attributes(hash), not an issue as the data can be optional end self end |
#eql?(other) ⇒ Boolean
1000 1001 1002 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 1000 def eql?(other) self == other end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
1009 1010 1011 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 1009 def hash [id, ocid, schemas, , idcs_created_by, idcs_last_modified_by, idcs_prevented_operations, , delete_in_progress, idcs_last_upgraded_in_release, domain_ocid, compartment_ocid, tenancy_ocid, auth_factor, scenario, request_id, otp_code, device_id, status, user_id, user_name, display_name, , type, update_user_preference, preference_type, security_questions, name, platform, location, trusted_token_id, kmsi_token_id, policy_enabled_second_factors, create_trusted_agent, create_kmsi_token, is_acc_rec_enabled, policy_trusted_frequency_mins, third_party_factor, additional_attributes].hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 1053 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = public_method(attr).call next if value.nil? && !instance_variable_defined?("@#{attr}") hash[param] = _to_hash(value) end hash end |
#to_s ⇒ String
Returns the string representation of the object
1047 1048 1049 |
# File 'lib/oci/identity_domains/models/my_authentication_factor_validator.rb', line 1047 def to_s to_hash.to_s end |