Class Fido2AuthenticationMethodItemRequestBuilder

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

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

    • Fido2AuthenticationMethodItemRequestBuilder

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

      public Fido2AuthenticationMethodItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new Fido2AuthenticationMethodItemRequestBuilder 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

    • delete

      public void delete()
      Deletes a user's FIDO2 Security Key Authentication Method object.
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • delete

      public void delete(@Nullable Consumer<Fido2AuthenticationMethodItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Deletes a user's FIDO2 Security Key Authentication Method object.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • get

      @Nullable public Fido2AuthenticationMethod get()
      Represents the FIDO2 security keys registered to a user for authentication.
      Returns:
      a Fido2AuthenticationMethod
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • get

      Represents the FIDO2 security keys registered to a user for authentication.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a Fido2AuthenticationMethod
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • toDeleteRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()
      Deletes a user's FIDO2 Security Key Authentication Method object.
      Returns:
      a RequestInformation
    • toDeleteRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<Fido2AuthenticationMethodItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Deletes a user's FIDO2 Security Key Authentication Method object.
      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()
      Represents the FIDO2 security keys registered to a user for authentication.
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<Fido2AuthenticationMethodItemRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Represents the FIDO2 security keys registered to a user for authentication.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

      @Nonnull public Fido2AuthenticationMethodItemRequestBuilder 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 Fido2AuthenticationMethodItemRequestBuilder