Class SamlOrWsFedProvider

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel
Direct Known Subclasses:
InternalDomainFederation, SamlOrWsFedExternalDomainFederation

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

    • SamlOrWsFedProvider

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

    • createFromDiscriminatorValue

      @Nonnull public static SamlOrWsFedProvider 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 SamlOrWsFedProvider
    • 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 IdentityProviderBase
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIssuerUri

      @Nullable public String getIssuerUri()
      Gets the issuerUri property value. Issuer URI of the federation server.
      Returns:
      a String
    • getMetadataExchangeUri

      @Nullable public String getMetadataExchangeUri()
      Gets the metadataExchangeUri property value. URI of the metadata exchange endpoint used for authentication from rich client applications.
      Returns:
      a String
    • getPassiveSignInUri

      @Nullable public String getPassiveSignInUri()
      Gets the passiveSignInUri property value. URI that web-based clients are directed to when signing in to Microsoft Entra services.
      Returns:
      a String
    • getPreferredAuthenticationProtocol

      @Nullable public AuthenticationProtocol getPreferredAuthenticationProtocol()
      Gets the preferredAuthenticationProtocol property value. Preferred authentication protocol. The possible values are: wsFed, saml, unknownFutureValue.
      Returns:
      a AuthenticationProtocol
    • getSigningCertificate

      @Nullable public String getSigningCertificate()
      Gets the signingCertificate property value. Current certificate used to sign tokens passed to the Microsoft identity platform. The certificate is formatted as a Base64 encoded string of the public portion of the federated IdP's token signing certificate and must be compatible with the X509Certificate2 class. This property is used in the following scenarios: if a rollover is required outside of the autorollover update a new federation service is being set up if the new token signing certificate isn't present in the federation properties after the federation service certificate has been updated. Microsoft Entra ID updates certificates via an autorollover process in which it attempts to retrieve a new certificate from the federation service metadata, 30 days before expiry of the current certificate. If a new certificate isn't available, Microsoft Entra ID monitors the metadata daily and will update the federation settings for the domain when a new certificate is available.
      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 IdentityProviderBase
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setIssuerUri

      public void setIssuerUri(@Nullable String value)
      Sets the issuerUri property value. Issuer URI of the federation server.
      Parameters:
      value - Value to set for the issuerUri property.
    • setMetadataExchangeUri

      public void setMetadataExchangeUri(@Nullable String value)
      Sets the metadataExchangeUri property value. URI of the metadata exchange endpoint used for authentication from rich client applications.
      Parameters:
      value - Value to set for the metadataExchangeUri property.
    • setPassiveSignInUri

      public void setPassiveSignInUri(@Nullable String value)
      Sets the passiveSignInUri property value. URI that web-based clients are directed to when signing in to Microsoft Entra services.
      Parameters:
      value - Value to set for the passiveSignInUri property.
    • setPreferredAuthenticationProtocol

      public void setPreferredAuthenticationProtocol(@Nullable AuthenticationProtocol value)
      Sets the preferredAuthenticationProtocol property value. Preferred authentication protocol. The possible values are: wsFed, saml, unknownFutureValue.
      Parameters:
      value - Value to set for the preferredAuthenticationProtocol property.
    • setSigningCertificate

      public void setSigningCertificate(@Nullable String value)
      Sets the signingCertificate property value. Current certificate used to sign tokens passed to the Microsoft identity platform. The certificate is formatted as a Base64 encoded string of the public portion of the federated IdP's token signing certificate and must be compatible with the X509Certificate2 class. This property is used in the following scenarios: if a rollover is required outside of the autorollover update a new federation service is being set up if the new token signing certificate isn't present in the federation properties after the federation service certificate has been updated. Microsoft Entra ID updates certificates via an autorollover process in which it attempts to retrieve a new certificate from the federation service metadata, 30 days before expiry of the current certificate. If a new certificate isn't available, Microsoft Entra ID monitors the metadata daily and will update the federation settings for the domain when a new certificate is available.
      Parameters:
      value - Value to set for the signingCertificate property.