UNPKG

@microsoft/msgraph-beta-sdk-users

Version:
75 lines 4.43 kB
import { type QrCodePinAuthenticationMethod } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type PinRequestBuilder } from './pin/index.js'; import { type StandardQRCodeRequestBuilder } from './standardQRCode/index.js'; import { type TemporaryQRCodeRequestBuilder } from './temporaryQRCode/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the qrCodePinMethod property of the microsoft.graph.authentication entity. */ export interface QrCodePinMethodRequestBuilder extends BaseRequestBuilder<QrCodePinMethodRequestBuilder> { /** * Provides operations to manage the pin property of the microsoft.graph.qrCodePinAuthenticationMethod entity. */ get pin(): PinRequestBuilder; /** * Provides operations to manage the standardQRCode property of the microsoft.graph.qrCodePinAuthenticationMethod entity. */ get standardQRCode(): StandardQRCodeRequestBuilder; /** * Provides operations to manage the temporaryQRCode property of the microsoft.graph.qrCodePinAuthenticationMethod entity. */ get temporaryQRCode(): TemporaryQRCodeRequestBuilder; /** * Deletes user's qrCodePinAuthenticationMethod object. Once the object is deleted, it can't be retrieved. The user won't be able to sign-in with any QR codes associated with the deleted 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/authentication-delete-qrcodepinmethod?view=graph-rest-beta|Find more info here} */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Retrieve a user's qrCodePinAuthenticationMethod object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<QrCodePinAuthenticationMethod>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/qrcodepinauthenticationmethod-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<QrCodePinMethodRequestBuilderGetQueryParameters> | undefined): Promise<QrCodePinAuthenticationMethod | undefined>; /** * Deletes user's qrCodePinAuthenticationMethod object. Once the object is deleted, it can't be retrieved. The user won't be able to sign-in with any QR codes associated with the deleted object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Retrieve a user's qrCodePinAuthenticationMethod object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<QrCodePinMethodRequestBuilderGetQueryParameters> | undefined): RequestInformation; } /** * Retrieve a user's qrCodePinAuthenticationMethod object. */ export interface QrCodePinMethodRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const QrCodePinMethodRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/authentication/qrCodePinMethod{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const QrCodePinMethodRequestBuilderNavigationMetadata: Record<Exclude<keyof QrCodePinMethodRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const QrCodePinMethodRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map