UNPKG

@microsoft/msgraph-beta-sdk-users

Version:
64 lines 4.34 kB
import { type PasswordlessMicrosoftAuthenticatorAuthenticationMethod } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type DeviceRequestBuilder } from './device/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the passwordlessMicrosoftAuthenticatorMethods property of the microsoft.graph.authentication entity. */ export interface PasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder extends BaseRequestBuilder<PasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder> { /** * Provides operations to manage the device property of the microsoft.graph.passwordlessMicrosoftAuthenticatorAuthenticationMethod entity. */ get device(): DeviceRequestBuilder; /** * Deletes a user's Microsoft Authenticator Passwordless Phone Sign-in method object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/passwordlessmicrosoftauthenticatorauthenticationmethod-delete?view=graph-rest-beta|Find more info here} */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Represents the Microsoft Authenticator Passwordless Phone Sign-in methods registered to a user for authentication. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<PasswordlessMicrosoftAuthenticatorAuthenticationMethod>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<PasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetQueryParameters> | undefined): Promise<PasswordlessMicrosoftAuthenticatorAuthenticationMethod | undefined>; /** * Deletes a user's Microsoft Authenticator Passwordless Phone Sign-in method object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Represents the Microsoft Authenticator Passwordless Phone Sign-in methods registered to a user for authentication. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<PasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; } /** * Represents the Microsoft Authenticator Passwordless Phone Sign-in methods registered to a user for authentication. */ export interface PasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const PasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/authentication/passwordlessMicrosoftAuthenticatorMethods/{passwordlessMicrosoftAuthenticatorAuthenticationMethod%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const PasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderNavigationMetadata: Record<Exclude<keyof PasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const PasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map