Class PasswordAuthenticationMethodItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.users.item.authentication.passwordmethods.item.PasswordAuthenticationMethodItemRequestBuilder
@Generated("com.microsoft.kiota")
public class PasswordAuthenticationMethodItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the passwordMethods property of the microsoft.graph.authentication entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassRepresents the password 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
ConstructorsConstructorDescriptionPasswordAuthenticationMethodItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPasswordAuthenticationMethodItemRequestBuilderand sets the default values.PasswordAuthenticationMethodItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPasswordAuthenticationMethodItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionget()Represents the password registered to a user for authentication.get(Consumer<PasswordAuthenticationMethodItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents the password registered to a user for authentication.com.microsoft.kiota.RequestInformationRepresents the password registered to a user for authentication.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<PasswordAuthenticationMethodItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents the password registered to a user for authentication.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
PasswordAuthenticationMethodItemRequestBuilder
public PasswordAuthenticationMethodItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPasswordAuthenticationMethodItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
PasswordAuthenticationMethodItemRequestBuilder
public PasswordAuthenticationMethodItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPasswordAuthenticationMethodItemRequestBuilderand 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
-
get
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
PasswordAuthenticationMethod - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public PasswordAuthenticationMethod get(@Nullable Consumer<PasswordAuthenticationMethodItemRequestBuilder.GetRequestConfiguration> requestConfiguration) 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:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
PasswordAuthenticationMethod - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()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
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<PasswordAuthenticationMethodItemRequestBuilder.GetRequestConfiguration> requestConfiguration) 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:
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
PasswordAuthenticationMethodItemRequestBuilder
-