Package com.microsoft.graph.models
Class Authentication
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Authentication
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class Authentication
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Authentication
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the emailMethods property value.Gets the fido2Methods property value.The deserialization information for the current modelGets the methods property value.Gets the microsoftAuthenticatorMethods property value.Gets the operations property value.Gets the passwordMethods property value.Gets the phoneMethods property value.Gets the softwareOathMethods property value.Gets the temporaryAccessPassMethods property value.Gets the windowsHelloForBusinessMethods property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the emailMethods property value.void
Sets the fido2Methods property value.void
setMethods
(List<AuthenticationMethod> value) Sets the methods property value.void
Sets the microsoftAuthenticatorMethods property value.void
setOperations
(List<LongRunningOperation> value) Sets the operations property value.void
Sets the passwordMethods property value.void
Sets the phoneMethods property value.void
Sets the softwareOathMethods property value.void
Sets the temporaryAccessPassMethods property value.void
Sets the windowsHelloForBusinessMethods property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Authentication
public Authentication()Instantiates a newAuthentication
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static Authentication 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
Authentication
-
getEmailMethods
Gets the emailMethods property value. The email address registered to a user for authentication.- Returns:
- a
List<EmailAuthenticationMethod>
-
getFido2Methods
Gets the fido2Methods property value. Represents the FIDO2 security keys registered to a user for authentication.- Returns:
- a
List<Fido2AuthenticationMethod>
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getMethods
Gets the methods property value. Represents all authentication methods registered to a user.- Returns:
- a
List<AuthenticationMethod>
-
getMicrosoftAuthenticatorMethods
@Nullable public List<MicrosoftAuthenticatorAuthenticationMethod> getMicrosoftAuthenticatorMethods()Gets the microsoftAuthenticatorMethods property value. The details of the Microsoft Authenticator app registered to a user for authentication.- Returns:
- a
List<MicrosoftAuthenticatorAuthenticationMethod>
-
getOperations
Gets the operations property value. Represents the status of a long-running operation, such as a password reset operation.- Returns:
- a
List<LongRunningOperation>
-
getPasswordMethods
Gets the passwordMethods property value. Represents the password registered to a user for authentication. For security, the password itself is never returned in the object, but action can be taken to reset a password.- Returns:
- a
List<PasswordAuthenticationMethod>
-
getPhoneMethods
Gets the phoneMethods property value. The phone numbers registered to a user for authentication.- Returns:
- a
List<PhoneAuthenticationMethod>
-
getSoftwareOathMethods
Gets the softwareOathMethods property value. The software OATH time-based one-time password (TOTP) applications registered to a user for authentication.- Returns:
- a
List<SoftwareOathAuthenticationMethod>
-
getTemporaryAccessPassMethods
Gets the temporaryAccessPassMethods property value. Represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes.- Returns:
- a
List<TemporaryAccessPassAuthenticationMethod>
-
getWindowsHelloForBusinessMethods
@Nullable public List<WindowsHelloForBusinessAuthenticationMethod> getWindowsHelloForBusinessMethods()Gets the windowsHelloForBusinessMethods property value. Represents the Windows Hello for Business authentication method registered to a user for authentication.- Returns:
- a
List<WindowsHelloForBusinessAuthenticationMethod>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setEmailMethods
Sets the emailMethods property value. The email address registered to a user for authentication.- Parameters:
value
- Value to set for the emailMethods property.
-
setFido2Methods
Sets the fido2Methods property value. Represents the FIDO2 security keys registered to a user for authentication.- Parameters:
value
- Value to set for the fido2Methods property.
-
setMethods
Sets the methods property value. Represents all authentication methods registered to a user.- Parameters:
value
- Value to set for the methods property.
-
setMicrosoftAuthenticatorMethods
public void setMicrosoftAuthenticatorMethods(@Nullable List<MicrosoftAuthenticatorAuthenticationMethod> value) Sets the microsoftAuthenticatorMethods property value. The details of the Microsoft Authenticator app registered to a user for authentication.- Parameters:
value
- Value to set for the microsoftAuthenticatorMethods property.
-
setOperations
Sets the operations property value. Represents the status of a long-running operation, such as a password reset operation.- Parameters:
value
- Value to set for the operations property.
-
setPasswordMethods
Sets the passwordMethods property value. Represents the password registered to a user for authentication. For security, the password itself is never returned in the object, but action can be taken to reset a password.- Parameters:
value
- Value to set for the passwordMethods property.
-
setPhoneMethods
Sets the phoneMethods property value. The phone numbers registered to a user for authentication.- Parameters:
value
- Value to set for the phoneMethods property.
-
setSoftwareOathMethods
Sets the softwareOathMethods property value. The software OATH time-based one-time password (TOTP) applications registered to a user for authentication.- Parameters:
value
- Value to set for the softwareOathMethods property.
-
setTemporaryAccessPassMethods
public void setTemporaryAccessPassMethods(@Nullable List<TemporaryAccessPassAuthenticationMethod> value) Sets the temporaryAccessPassMethods property value. Represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes.- Parameters:
value
- Value to set for the temporaryAccessPassMethods property.
-
setWindowsHelloForBusinessMethods
public void setWindowsHelloForBusinessMethods(@Nullable List<WindowsHelloForBusinessAuthenticationMethod> value) Sets the windowsHelloForBusinessMethods property value. Represents the Windows Hello for Business authentication method registered to a user for authentication.- Parameters:
value
- Value to set for the windowsHelloForBusinessMethods property.
-