Class AuthenticationRequestBuilder

java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.users.item.authentication.AuthenticationRequestBuilder

@Generated("com.microsoft.kiota") public class AuthenticationRequestBuilder extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the authentication property of the microsoft.graph.user entity.
  • Constructor Details

    • AuthenticationRequestBuilder

      public AuthenticationRequestBuilder(@Nonnull HashMap<String,Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new AuthenticationRequestBuilder and sets the default values.
      Parameters:
      pathParameters - Path parameters for the request
      requestAdapter - The request adapter to use to execute the requests.
    • AuthenticationRequestBuilder

      public AuthenticationRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new AuthenticationRequestBuilder and sets the default values.
      Parameters:
      rawUrl - The raw URL to use for the request builder.
      requestAdapter - The request adapter to use to execute the requests.
  • Method Details

    • emailMethods

      @Nonnull public EmailMethodsRequestBuilder emailMethods()
      Provides operations to manage the emailMethods property of the microsoft.graph.authentication entity.
      Returns:
      a EmailMethodsRequestBuilder
    • fido2Methods

      @Nonnull public Fido2MethodsRequestBuilder fido2Methods()
      Provides operations to manage the fido2Methods property of the microsoft.graph.authentication entity.
      Returns:
      a Fido2MethodsRequestBuilder
    • methods

      @Nonnull public MethodsRequestBuilder methods()
      Provides operations to manage the methods property of the microsoft.graph.authentication entity.
      Returns:
      a MethodsRequestBuilder
    • microsoftAuthenticatorMethods

      @Nonnull public MicrosoftAuthenticatorMethodsRequestBuilder microsoftAuthenticatorMethods()
      Provides operations to manage the microsoftAuthenticatorMethods property of the microsoft.graph.authentication entity.
      Returns:
      a MicrosoftAuthenticatorMethodsRequestBuilder
    • operations

      @Nonnull public OperationsRequestBuilder operations()
      Provides operations to manage the operations property of the microsoft.graph.authentication entity.
      Returns:
      a OperationsRequestBuilder
    • passwordMethods

      @Nonnull public PasswordMethodsRequestBuilder passwordMethods()
      Provides operations to manage the passwordMethods property of the microsoft.graph.authentication entity.
      Returns:
      a PasswordMethodsRequestBuilder
    • phoneMethods

      @Nonnull public PhoneMethodsRequestBuilder phoneMethods()
      Provides operations to manage the phoneMethods property of the microsoft.graph.authentication entity.
      Returns:
      a PhoneMethodsRequestBuilder
    • softwareOathMethods

      @Nonnull public SoftwareOathMethodsRequestBuilder softwareOathMethods()
      Provides operations to manage the softwareOathMethods property of the microsoft.graph.authentication entity.
      Returns:
      a SoftwareOathMethodsRequestBuilder
    • temporaryAccessPassMethods

      @Nonnull public TemporaryAccessPassMethodsRequestBuilder temporaryAccessPassMethods()
      Provides operations to manage the temporaryAccessPassMethods property of the microsoft.graph.authentication entity.
      Returns:
      a TemporaryAccessPassMethodsRequestBuilder
    • windowsHelloForBusinessMethods

      @Nonnull public WindowsHelloForBusinessMethodsRequestBuilder windowsHelloForBusinessMethods()
      Provides operations to manage the windowsHelloForBusinessMethods property of the microsoft.graph.authentication entity.
      Returns:
      a WindowsHelloForBusinessMethodsRequestBuilder
    • delete

      public void delete()
      Delete navigation property authentication for users
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • delete

      public void delete(@Nullable Consumer<AuthenticationRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete navigation property authentication for users
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • get

      @Nullable public Authentication get()
      The authentication methods that are supported for the user.
      Returns:
      a Authentication
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • get

      @Nullable public Authentication get(@Nullable Consumer<AuthenticationRequestBuilder.GetRequestConfiguration> requestConfiguration)
      The authentication methods that are supported for the user.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a Authentication
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • patch

      @Nullable public Authentication patch(@Nonnull Authentication body)
      Update the navigation property authentication in users
      Parameters:
      body - The request body
      Returns:
      a Authentication
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • patch

      @Nullable public Authentication patch(@Nonnull Authentication body, @Nullable Consumer<AuthenticationRequestBuilder.PatchRequestConfiguration> requestConfiguration)
      Update the navigation property authentication in users
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a Authentication
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • toDeleteRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()
      Delete navigation property authentication for users
      Returns:
      a RequestInformation
    • toDeleteRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<AuthenticationRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete navigation property authentication for users
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()
      The authentication methods that are supported for the user.
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<AuthenticationRequestBuilder.GetRequestConfiguration> requestConfiguration)
      The authentication methods that are supported for the user.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • toPatchRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Authentication body)
      Update the navigation property authentication in users
      Parameters:
      body - The request body
      Returns:
      a RequestInformation
    • toPatchRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Authentication body, @Nullable Consumer<AuthenticationRequestBuilder.PatchRequestConfiguration> requestConfiguration)
      Update the navigation property authentication in users
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

      @Nonnull public AuthenticationRequestBuilder withUrl(@Nonnull String rawUrl)
      Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
      Parameters:
      rawUrl - The raw URL to use for the request builder.
      Returns:
      a AuthenticationRequestBuilder