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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRepresents the FIDO2 security keys registered to a user for authentication.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionFido2AuthenticationMethodItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newFido2AuthenticationMethodItemRequestBuilderand sets the default values.Fido2AuthenticationMethodItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newFido2AuthenticationMethodItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Deletes a user's FIDO2 security key authentication method object.voiddelete(Consumer<Fido2AuthenticationMethodItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a user's FIDO2 security key authentication method object.get()Represents the FIDO2 security keys registered to a user for authentication.get(Consumer<Fido2AuthenticationMethodItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents the FIDO2 security keys registered to a user for authentication.com.microsoft.kiota.RequestInformationDeletes a user's FIDO2 security key authentication method object.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<Fido2AuthenticationMethodItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a user's FIDO2 security key authentication method object.com.microsoft.kiota.RequestInformationRepresents the FIDO2 security keys registered to a user for authentication.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<Fido2AuthenticationMethodItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents the FIDO2 security keys registered to a user for authentication.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
Fido2AuthenticationMethodItemRequestBuilder
public Fido2AuthenticationMethodItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newFido2AuthenticationMethodItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
Fido2AuthenticationMethodItemRequestBuilder
public Fido2AuthenticationMethodItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newFido2AuthenticationMethodItemRequestBuilderand 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
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
@Nullable public Fido2AuthenticationMethod get(@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
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
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
-