Class: MicrosoftGraph::Models::InternalDomainFederation
- Inherits:
-
SamlOrWsFedProvider
- Object
- Entity
- IdentityProviderBase
- SamlOrWsFedProvider
- MicrosoftGraph::Models::InternalDomainFederation
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/internal_domain_federation.rb
Class Method Summary collapse
-
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value.
Instance Method Summary collapse
-
#active_sign_in_uri ⇒ Object
Gets the activeSignInUri property value.
-
#active_sign_in_uri=(value) ⇒ Object
Sets the activeSignInUri property value.
-
#federated_idp_mfa_behavior ⇒ Object
Gets the federatedIdpMfaBehavior property value.
-
#federated_idp_mfa_behavior=(value) ⇒ Object
Sets the federatedIdpMfaBehavior property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new internalDomainFederation and sets the default values.
-
#is_signed_authentication_request_required ⇒ Object
Gets the isSignedAuthenticationRequestRequired property value.
-
#is_signed_authentication_request_required=(value) ⇒ Object
Sets the isSignedAuthenticationRequestRequired property value.
-
#next_signing_certificate ⇒ Object
Gets the nextSigningCertificate property value.
-
#next_signing_certificate=(value) ⇒ Object
Sets the nextSigningCertificate property value.
-
#prompt_login_behavior ⇒ Object
Gets the promptLoginBehavior property value.
-
#prompt_login_behavior=(value) ⇒ Object
Sets the promptLoginBehavior property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#sign_out_uri ⇒ Object
Gets the signOutUri property value.
-
#sign_out_uri=(value) ⇒ Object
Sets the signOutUri property value.
-
#signing_certificate_update_status ⇒ Object
Gets the signingCertificateUpdateStatus property value.
-
#signing_certificate_update_status=(value) ⇒ Object
Sets the signingCertificateUpdateStatus property value.
Methods inherited from SamlOrWsFedProvider
#issuer_uri, #issuer_uri=, #metadata_exchange_uri, #metadata_exchange_uri=, #passive_sign_in_uri, #passive_sign_in_uri=, #preferred_authentication_protocol, #preferred_authentication_protocol=, #signing_certificate, #signing_certificate=
Methods inherited from IdentityProviderBase
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new internalDomainFederation and sets the default values.
49 50 51 52 |
# File 'lib/models/internal_domain_federation.rb', line 49 def initialize() super @odata_type = "#microsoft.graph.internalDomainFederation" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
58 59 60 61 |
# File 'lib/models/internal_domain_federation.rb', line 58 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return InternalDomainFederation.new end |
Instance Method Details
#active_sign_in_uri ⇒ Object
Gets the activeSignInUri property value. URL of the endpoint used by active clients when authenticating with federated domains set up for single sign-on in Azure Active Directory (Azure AD). Corresponds to the ActiveLogOnUri property of the Set-MsolDomainFederationSettings MSOnline v1 PowerShell cmdlet.
34 35 36 |
# File 'lib/models/internal_domain_federation.rb', line 34 def active_sign_in_uri return @active_sign_in_uri end |
#active_sign_in_uri=(value) ⇒ Object
Sets the activeSignInUri property value. URL of the endpoint used by active clients when authenticating with federated domains set up for single sign-on in Azure Active Directory (Azure AD). Corresponds to the ActiveLogOnUri property of the Set-MsolDomainFederationSettings MSOnline v1 PowerShell cmdlet.
42 43 44 |
# File 'lib/models/internal_domain_federation.rb', line 42 def active_sign_in_uri=(value) @active_sign_in_uri = value end |
#federated_idp_mfa_behavior ⇒ Object
Gets the federatedIdpMfaBehavior property value. Determines whether Azure AD accepts the MFA performed by the federated IdP when a federated user accesses an application that is governed by a conditional access policy that requires MFA. The possible values are: acceptIfMfaDoneByFederatedIdp, enforceMfaByFederatedIdp, rejectMfaByFederatedIdp, unknownFutureValue. For more information, see federatedIdpMfaBehavior values.
66 67 68 |
# File 'lib/models/internal_domain_federation.rb', line 66 def federated_idp_mfa_behavior return @federated_idp_mfa_behavior end |
#federated_idp_mfa_behavior=(value) ⇒ Object
Sets the federatedIdpMfaBehavior property value. Determines whether Azure AD accepts the MFA performed by the federated IdP when a federated user accesses an application that is governed by a conditional access policy that requires MFA. The possible values are: acceptIfMfaDoneByFederatedIdp, enforceMfaByFederatedIdp, rejectMfaByFederatedIdp, unknownFutureValue. For more information, see federatedIdpMfaBehavior values.
74 75 76 |
# File 'lib/models/internal_domain_federation.rb', line 74 def federated_idp_mfa_behavior=(value) @federated_idp_mfa_behavior = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/models/internal_domain_federation.rb', line 81 def get_field_deserializers() return super.merge({ "activeSignInUri" => lambda {|n| @active_sign_in_uri = n.get_string_value() }, "federatedIdpMfaBehavior" => lambda {|n| @federated_idp_mfa_behavior = n.get_enum_value(MicrosoftGraph::Models::FederatedIdpMfaBehavior) }, "isSignedAuthenticationRequestRequired" => lambda {|n| @is_signed_authentication_request_required = n.get_boolean_value() }, "nextSigningCertificate" => lambda {|n| @next_signing_certificate = n.get_string_value() }, "promptLoginBehavior" => lambda {|n| @prompt_login_behavior = n.get_enum_value(MicrosoftGraph::Models::PromptLoginBehavior) }, "signOutUri" => lambda {|n| @sign_out_uri = n.get_string_value() }, "signingCertificateUpdateStatus" => lambda {|n| @signing_certificate_update_status = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SigningCertificateUpdateStatus.create_from_discriminator_value(pn) }) }, }) end |
#is_signed_authentication_request_required ⇒ Object
Gets the isSignedAuthenticationRequestRequired property value. If true, when SAML authentication requests are sent to the federated SAML IdP, Azure AD will sign those requests using the OrgID signing key. If false (default), the SAML authentication requests sent to the federated IdP are not signed.
96 97 98 |
# File 'lib/models/internal_domain_federation.rb', line 96 def is_signed_authentication_request_required return @is_signed_authentication_request_required end |
#is_signed_authentication_request_required=(value) ⇒ Object
Sets the isSignedAuthenticationRequestRequired property value. If true, when SAML authentication requests are sent to the federated SAML IdP, Azure AD will sign those requests using the OrgID signing key. If false (default), the SAML authentication requests sent to the federated IdP are not signed.
104 105 106 |
# File 'lib/models/internal_domain_federation.rb', line 104 def is_signed_authentication_request_required=(value) @is_signed_authentication_request_required = value end |
#next_signing_certificate ⇒ Object
Gets the nextSigningCertificate property value. Fallback token signing certificate that is used to sign tokens when the primary signing certificate expires. Formatted as Base64 encoded strings of the public portion of the federated IdP’s token signing certificate. Needs to be compatible with the X509Certificate2 class. Much like the signingCertificate, the nextSigningCertificate property is used if a rollover is required outside of the auto-rollover update, a new federation service is being set up, or if the new token signing certificate is not present in the federation properties after the federation service certificate has been updated.
111 112 113 |
# File 'lib/models/internal_domain_federation.rb', line 111 def next_signing_certificate return @next_signing_certificate end |
#next_signing_certificate=(value) ⇒ Object
Sets the nextSigningCertificate property value. Fallback token signing certificate that is used to sign tokens when the primary signing certificate expires. Formatted as Base64 encoded strings of the public portion of the federated IdP’s token signing certificate. Needs to be compatible with the X509Certificate2 class. Much like the signingCertificate, the nextSigningCertificate property is used if a rollover is required outside of the auto-rollover update, a new federation service is being set up, or if the new token signing certificate is not present in the federation properties after the federation service certificate has been updated.
119 120 121 |
# File 'lib/models/internal_domain_federation.rb', line 119 def next_signing_certificate=(value) @next_signing_certificate = value end |
#prompt_login_behavior ⇒ Object
Gets the promptLoginBehavior property value. Sets the preferred behavior for the sign-in prompt. The possible values are: translateToFreshPasswordAuthentication, nativeSupport, disabled, unknownFutureValue.
126 127 128 |
# File 'lib/models/internal_domain_federation.rb', line 126 def prompt_login_behavior return @prompt_login_behavior end |
#prompt_login_behavior=(value) ⇒ Object
Sets the promptLoginBehavior property value. Sets the preferred behavior for the sign-in prompt. The possible values are: translateToFreshPasswordAuthentication, nativeSupport, disabled, unknownFutureValue.
134 135 136 |
# File 'lib/models/internal_domain_federation.rb', line 134 def prompt_login_behavior=(value) @prompt_login_behavior = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/models/internal_domain_federation.rb', line 142 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("activeSignInUri", @active_sign_in_uri) writer.write_enum_value("federatedIdpMfaBehavior", @federated_idp_mfa_behavior) writer.write_boolean_value("isSignedAuthenticationRequestRequired", @is_signed_authentication_request_required) writer.write_string_value("nextSigningCertificate", @next_signing_certificate) writer.write_enum_value("promptLoginBehavior", @prompt_login_behavior) writer.write_string_value("signOutUri", @sign_out_uri) writer.write_object_value("signingCertificateUpdateStatus", @signing_certificate_update_status) end |
#sign_out_uri ⇒ Object
Gets the signOutUri property value. URI that clients are redirected to when they sign out of Azure AD services. Corresponds to the LogOffUri property of the Set-MsolDomainFederationSettings MSOnline v1 PowerShell cmdlet.
157 158 159 |
# File 'lib/models/internal_domain_federation.rb', line 157 def sign_out_uri return @sign_out_uri end |
#sign_out_uri=(value) ⇒ Object
Sets the signOutUri property value. URI that clients are redirected to when they sign out of Azure AD services. Corresponds to the LogOffUri property of the Set-MsolDomainFederationSettings MSOnline v1 PowerShell cmdlet.
165 166 167 |
# File 'lib/models/internal_domain_federation.rb', line 165 def sign_out_uri=(value) @sign_out_uri = value end |
#signing_certificate_update_status ⇒ Object
Gets the signingCertificateUpdateStatus property value. Provides status and timestamp of the last update of the signing certificate.
172 173 174 |
# File 'lib/models/internal_domain_federation.rb', line 172 def signing_certificate_update_status return @signing_certificate_update_status end |
#signing_certificate_update_status=(value) ⇒ Object
Sets the signingCertificateUpdateStatus property value. Provides status and timestamp of the last update of the signing certificate.
180 181 182 |
# File 'lib/models/internal_domain_federation.rb', line 180 def signing_certificate_update_status=(value) @signing_certificate_update_status = value end |