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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classThe authentication methods that are supported for the user.classConfiguration for the request such as headers, query parameters, and middleware options.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
ConstructorsConstructorDescriptionAuthenticationRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAuthenticationRequestBuilderand sets the default values.AuthenticationRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAuthenticationRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property authentication for usersvoiddelete(Consumer<AuthenticationRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property authentication for usersProvides operations to manage the emailMethods property of the microsoft.graph.authentication entity.Provides operations to manage the fido2Methods property of the microsoft.graph.authentication entity.get()The authentication methods that are supported for the user.get(Consumer<AuthenticationRequestBuilder.GetRequestConfiguration> requestConfiguration) The authentication methods that are supported for the user.methods()Provides operations to manage the methods property of the microsoft.graph.authentication entity.Provides operations to manage the microsoftAuthenticatorMethods property of the microsoft.graph.authentication entity.Provides operations to manage the operations property of the microsoft.graph.authentication entity.Provides operations to manage the passwordMethods property of the microsoft.graph.authentication entity.patch(Authentication body) Update the navigation property authentication in userspatch(Authentication body, Consumer<AuthenticationRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property authentication in usersProvides operations to manage the phoneMethods property of the microsoft.graph.authentication entity.Provides operations to manage the softwareOathMethods property of the microsoft.graph.authentication entity.Provides operations to manage the temporaryAccessPassMethods property of the microsoft.graph.authentication entity.com.microsoft.kiota.RequestInformationDelete navigation property authentication for userscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<AuthenticationRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property authentication for userscom.microsoft.kiota.RequestInformationThe authentication methods that are supported for the user.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<AuthenticationRequestBuilder.GetRequestConfiguration> requestConfiguration) The authentication methods that are supported for the user.com.microsoft.kiota.RequestInformationUpdate the navigation property authentication in userscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(Authentication body, Consumer<AuthenticationRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property authentication in usersProvides operations to manage the windowsHelloForBusinessMethods property of the microsoft.graph.authentication entity.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
AuthenticationRequestBuilder
public AuthenticationRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAuthenticationRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
AuthenticationRequestBuilder
public AuthenticationRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAuthenticationRequestBuilderand 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
Provides operations to manage the emailMethods property of the microsoft.graph.authentication entity.- Returns:
- a
EmailMethodsRequestBuilder
-
fido2Methods
Provides operations to manage the fido2Methods property of the microsoft.graph.authentication entity.- Returns:
- a
Fido2MethodsRequestBuilder
-
methods
Provides operations to manage the methods property of the microsoft.graph.authentication entity.- Returns:
- a
MethodsRequestBuilder
-
microsoftAuthenticatorMethods
Provides operations to manage the microsoftAuthenticatorMethods property of the microsoft.graph.authentication entity.- Returns:
- a
MicrosoftAuthenticatorMethodsRequestBuilder
-
operations
Provides operations to manage the operations property of the microsoft.graph.authentication entity.- Returns:
- a
OperationsRequestBuilder
-
passwordMethods
Provides operations to manage the passwordMethods property of the microsoft.graph.authentication entity.- Returns:
- a
PasswordMethodsRequestBuilder
-
phoneMethods
Provides operations to manage the phoneMethods property of the microsoft.graph.authentication entity.- Returns:
- a
PhoneMethodsRequestBuilder
-
softwareOathMethods
Provides operations to manage the softwareOathMethods property of the microsoft.graph.authentication entity.- Returns:
- a
SoftwareOathMethodsRequestBuilder
-
temporaryAccessPassMethods
Provides operations to manage the temporaryAccessPassMethods property of the microsoft.graph.authentication entity.- Returns:
- a
TemporaryAccessPassMethodsRequestBuilder
-
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
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
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 bodyrequestConfiguration- 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 bodyrequestConfiguration- 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
AuthenticationRequestBuilder
-