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
  • Constructor Details

    • Authentication

      public Authentication()
      Instantiates a new Authentication 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

      @Nullable public List<EmailAuthenticationMethod> getEmailMethods()
      Gets the emailMethods property value. The email address registered to a user for authentication.
      Returns:
      a List<EmailAuthenticationMethod>
    • getFido2Methods

      @Nullable public List<Fido2AuthenticationMethod> 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getMethods

      @Nullable public List<AuthenticationMethod> 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

      @Nullable public List<LongRunningOperation> 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

      @Nullable public List<PasswordAuthenticationMethod> 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

      @Nullable public List<PhoneAuthenticationMethod> getPhoneMethods()
      Gets the phoneMethods property value. The phone numbers registered to a user for authentication.
      Returns:
      a List<PhoneAuthenticationMethod>
    • getSoftwareOathMethods

      @Nullable public List<SoftwareOathAuthenticationMethod> 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

      @Nullable public List<TemporaryAccessPassAuthenticationMethod> 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setEmailMethods

      public void setEmailMethods(@Nullable List<EmailAuthenticationMethod> value)
      Sets the emailMethods property value. The email address registered to a user for authentication.
      Parameters:
      value - Value to set for the emailMethods property.
    • setFido2Methods

      public void setFido2Methods(@Nullable List<Fido2AuthenticationMethod> value)
      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

      public void setMethods(@Nullable List<AuthenticationMethod> value)
      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

      public void setOperations(@Nullable List<LongRunningOperation> value)
      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

      public void setPasswordMethods(@Nullable List<PasswordAuthenticationMethod> value)
      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

      public void setPhoneMethods(@Nullable List<PhoneAuthenticationMethod> value)
      Sets the phoneMethods property value. The phone numbers registered to a user for authentication.
      Parameters:
      value - Value to set for the phoneMethods property.
    • setSoftwareOathMethods

      public void setSoftwareOathMethods(@Nullable List<SoftwareOathAuthenticationMethod> value)
      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.