Package com.microsoft.graph.models
Class X509CertificateAuthenticationMethodConfiguration
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AuthenticationMethodConfiguration
com.microsoft.graph.models.X509CertificateAuthenticationMethodConfiguration
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class X509CertificateAuthenticationMethodConfiguration
extends AuthenticationMethodConfiguration
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newX509CertificateAuthenticationMethodConfigurationand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the authenticationModeConfiguration property value.Gets the certificateUserBindings property value.Gets the crlValidationConfiguration property value.The deserialization information for the current modelGets the includeTargets property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the authenticationModeConfiguration property value.voidSets the certificateUserBindings property value.voidSets the crlValidationConfiguration property value.voidSets the includeTargets property value.Methods inherited from class com.microsoft.graph.models.AuthenticationMethodConfiguration
getExcludeTargets, getState, setExcludeTargets, setStateMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
X509CertificateAuthenticationMethodConfiguration
public X509CertificateAuthenticationMethodConfiguration()Instantiates a newX509CertificateAuthenticationMethodConfigurationand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static X509CertificateAuthenticationMethodConfiguration 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
X509CertificateAuthenticationMethodConfiguration
-
getAuthenticationModeConfiguration
@Nullable public X509CertificateAuthenticationModeConfiguration getAuthenticationModeConfiguration()Gets the authenticationModeConfiguration property value. Defines strong authentication configurations. This configuration includes the default authentication mode and the different rules for strong authentication bindings. -
getCertificateUserBindings
Gets the certificateUserBindings property value. Defines fields in the X.509 certificate that map to attributes of the Microsoft Entra user object in order to bind the certificate to the user. The priority of the object determines the order in which the binding is carried out. The first binding that matches will be used and the rest ignored.- Returns:
- a
List<X509CertificateUserBinding>
-
getCrlValidationConfiguration
Gets the crlValidationConfiguration property value. The crlValidationConfiguration property- Returns:
- a
X509CertificateCRLValidationConfiguration
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classAuthenticationMethodConfiguration- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIncludeTargets
Gets the includeTargets property value. A collection of groups that are enabled to use the authentication method.- Returns:
- a
List<AuthenticationMethodTarget>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classAuthenticationMethodConfiguration- Parameters:
writer- Serialization writer to use to serialize this model
-
setAuthenticationModeConfiguration
public void setAuthenticationModeConfiguration(@Nullable X509CertificateAuthenticationModeConfiguration value) Sets the authenticationModeConfiguration property value. Defines strong authentication configurations. This configuration includes the default authentication mode and the different rules for strong authentication bindings.- Parameters:
value- Value to set for the authenticationModeConfiguration property.
-
setCertificateUserBindings
Sets the certificateUserBindings property value. Defines fields in the X.509 certificate that map to attributes of the Microsoft Entra user object in order to bind the certificate to the user. The priority of the object determines the order in which the binding is carried out. The first binding that matches will be used and the rest ignored.- Parameters:
value- Value to set for the certificateUserBindings property.
-
setCrlValidationConfiguration
public void setCrlValidationConfiguration(@Nullable X509CertificateCRLValidationConfiguration value) Sets the crlValidationConfiguration property value. The crlValidationConfiguration property- Parameters:
value- Value to set for the crlValidationConfiguration property.
-
setIncludeTargets
Sets the includeTargets property value. A collection of groups that are enabled to use the authentication method.- Parameters:
value- Value to set for the includeTargets property.
-