UNPKG

@microsoft/msgraph-beta-sdk-users

Version:
59 lines 3.52 kB
import { type StrongAuthenticationRequirements } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Builds and executes requests for operations under /users/{user-id}/authentication/requirements */ export interface RequirementsRequestBuilder extends BaseRequestBuilder<RequirementsRequestBuilder> { /** * Read the properties of a user's authentication states. Use this API to retrieve the following information: * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<StrongAuthenticationRequirements>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/authentication-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<RequirementsRequestBuilderGetQueryParameters> | undefined): Promise<StrongAuthenticationRequirements | undefined>; /** * Update the properties of a user's authentication method states. Use this API to update the following information: * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<StrongAuthenticationRequirements>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/authentication-update?view=graph-rest-beta|Find more info here} */ patch(body: StrongAuthenticationRequirements, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<StrongAuthenticationRequirements | undefined>; /** * Read the properties of a user's authentication states. Use this API to retrieve the following information: * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<RequirementsRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the properties of a user's authentication method states. Use this API to update the following information: * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: StrongAuthenticationRequirements, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties of a user's authentication states. Use this API to retrieve the following information: */ export interface RequirementsRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const RequirementsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/authentication/requirements{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const RequirementsRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map