Class InternalDomainFederation

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class InternalDomainFederation extends SamlOrWsFedProvider implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • InternalDomainFederation

      public InternalDomainFederation()
      Instantiates a new InternalDomainFederation and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static InternalDomainFederation createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a InternalDomainFederation
    • getActiveSignInUri

      @Nullable public String getActiveSignInUri()
      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 Microsoft Entra ID. Corresponds to the ActiveLogOnUri property of the Set-MsolDomainFederationSettings MSOnline v1 PowerShell cmdlet.
      Returns:
      a String
    • getFederatedIdpMfaBehavior

      @Nullable public FederatedIdpMfaBehavior getFederatedIdpMfaBehavior()
      Gets the federatedIdpMfaBehavior property value. Determines whether Microsoft Entra ID 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.
      Returns:
      a FederatedIdpMfaBehavior
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class SamlOrWsFedProvider
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsSignedAuthenticationRequestRequired

      @Nullable public Boolean getIsSignedAuthenticationRequestRequired()
      Gets the isSignedAuthenticationRequestRequired property value. If true, when SAML authentication requests are sent to the federated SAML IdP, Microsoft Entra ID will sign those requests using the OrgID signing key. If false (default), the SAML authentication requests sent to the federated IdP aren't signed.
      Returns:
      a Boolean
    • getNextSigningCertificate

      @Nullable public String getNextSigningCertificate()
      Gets the nextSigningCertificate property value. Fallback token signing certificate that can also be used to sign tokens, for example 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 isn't present in the federation properties after the federation service certificate has been updated.
      Returns:
      a String
    • getPasswordResetUri

      @Nullable public String getPasswordResetUri()
      Gets the passwordResetUri property value. The passwordResetUri property
      Returns:
      a String
    • getPromptLoginBehavior

      @Nullable public PromptLoginBehavior getPromptLoginBehavior()
      Gets the promptLoginBehavior property value. Sets the preferred behavior for the sign-in prompt. The possible values are: translateToFreshPasswordAuthentication, nativeSupport, disabled, unknownFutureValue.
      Returns:
      a PromptLoginBehavior
    • getSigningCertificateUpdateStatus

      @Nullable public SigningCertificateUpdateStatus getSigningCertificateUpdateStatus()
      Gets the signingCertificateUpdateStatus property value. Provides status and timestamp of the last update of the signing certificate.
      Returns:
      a SigningCertificateUpdateStatus
    • getSignOutUri

      @Nullable public String getSignOutUri()
      Gets the signOutUri property value. URI that clients are redirected to when they sign out of Microsoft Entra services. Corresponds to the LogOffUri property of the Set-MsolDomainFederationSettings MSOnline v1 PowerShell cmdlet.
      Returns:
      a String
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class SamlOrWsFedProvider
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setActiveSignInUri

      public void setActiveSignInUri(@Nullable String value)
      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 Microsoft Entra ID. Corresponds to the ActiveLogOnUri property of the Set-MsolDomainFederationSettings MSOnline v1 PowerShell cmdlet.
      Parameters:
      value - Value to set for the activeSignInUri property.
    • setFederatedIdpMfaBehavior

      public void setFederatedIdpMfaBehavior(@Nullable FederatedIdpMfaBehavior value)
      Sets the federatedIdpMfaBehavior property value. Determines whether Microsoft Entra ID 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.
      Parameters:
      value - Value to set for the federatedIdpMfaBehavior property.
    • setIsSignedAuthenticationRequestRequired

      public void setIsSignedAuthenticationRequestRequired(@Nullable Boolean value)
      Sets the isSignedAuthenticationRequestRequired property value. If true, when SAML authentication requests are sent to the federated SAML IdP, Microsoft Entra ID will sign those requests using the OrgID signing key. If false (default), the SAML authentication requests sent to the federated IdP aren't signed.
      Parameters:
      value - Value to set for the isSignedAuthenticationRequestRequired property.
    • setNextSigningCertificate

      public void setNextSigningCertificate(@Nullable String value)
      Sets the nextSigningCertificate property value. Fallback token signing certificate that can also be used to sign tokens, for example 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 isn't present in the federation properties after the federation service certificate has been updated.
      Parameters:
      value - Value to set for the nextSigningCertificate property.
    • setPasswordResetUri

      public void setPasswordResetUri(@Nullable String value)
      Sets the passwordResetUri property value. The passwordResetUri property
      Parameters:
      value - Value to set for the passwordResetUri property.
    • setPromptLoginBehavior

      public void setPromptLoginBehavior(@Nullable PromptLoginBehavior value)
      Sets the promptLoginBehavior property value. Sets the preferred behavior for the sign-in prompt. The possible values are: translateToFreshPasswordAuthentication, nativeSupport, disabled, unknownFutureValue.
      Parameters:
      value - Value to set for the promptLoginBehavior property.
    • setSigningCertificateUpdateStatus

      public void setSigningCertificateUpdateStatus(@Nullable SigningCertificateUpdateStatus value)
      Sets the signingCertificateUpdateStatus property value. Provides status and timestamp of the last update of the signing certificate.
      Parameters:
      value - Value to set for the signingCertificateUpdateStatus property.
    • setSignOutUri

      public void setSignOutUri(@Nullable String value)
      Sets the signOutUri property value. URI that clients are redirected to when they sign out of Microsoft Entra services. Corresponds to the LogOffUri property of the Set-MsolDomainFederationSettings MSOnline v1 PowerShell cmdlet.
      Parameters:
      value - Value to set for the signOutUri property.