UNPKG

@microsoft/msgraph-beta-sdk-users

Version:
148 lines 8.1 kB
import { type Authentication } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type EmailMethodsRequestBuilder } from './emailMethods/index.js'; import { type Fido2MethodsRequestBuilder } from './fido2Methods/index.js'; import { type HardwareOathMethodsRequestBuilder } from './hardwareOathMethods/index.js'; import { type MethodsRequestBuilder } from './methods/index.js'; import { type MicrosoftAuthenticatorMethodsRequestBuilder } from './microsoftAuthenticatorMethods/index.js'; import { type OperationsRequestBuilder } from './operations/index.js'; import { type PasswordlessMicrosoftAuthenticatorMethodsRequestBuilder } from './passwordlessMicrosoftAuthenticatorMethods/index.js'; import { type PasswordMethodsRequestBuilder } from './passwordMethods/index.js'; import { type PhoneMethodsRequestBuilder } from './phoneMethods/index.js'; import { type PlatformCredentialMethodsRequestBuilder } from './platformCredentialMethods/index.js'; import { type RequirementsRequestBuilder } from './requirements/index.js'; import { type SignInPreferencesRequestBuilder } from './signInPreferences/index.js'; import { type SoftwareOathMethodsRequestBuilder } from './softwareOathMethods/index.js'; import { type TemporaryAccessPassMethodsRequestBuilder } from './temporaryAccessPassMethods/index.js'; import { type WindowsHelloForBusinessMethodsRequestBuilder } from './windowsHelloForBusinessMethods/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the authentication property of the microsoft.graph.user entity. */ export interface AuthenticationRequestBuilder extends BaseRequestBuilder<AuthenticationRequestBuilder> { /** * Provides operations to manage the emailMethods property of the microsoft.graph.authentication entity. */ get emailMethods(): EmailMethodsRequestBuilder; /** * Provides operations to manage the fido2Methods property of the microsoft.graph.authentication entity. */ get fido2Methods(): Fido2MethodsRequestBuilder; /** * Provides operations to manage the hardwareOathMethods property of the microsoft.graph.authentication entity. */ get hardwareOathMethods(): HardwareOathMethodsRequestBuilder; /** * Provides operations to manage the methods property of the microsoft.graph.authentication entity. */ get methods(): MethodsRequestBuilder; /** * Provides operations to manage the microsoftAuthenticatorMethods property of the microsoft.graph.authentication entity. */ get microsoftAuthenticatorMethods(): MicrosoftAuthenticatorMethodsRequestBuilder; /** * Provides operations to manage the operations property of the microsoft.graph.authentication entity. */ get operations(): OperationsRequestBuilder; /** * Provides operations to manage the passwordlessMicrosoftAuthenticatorMethods property of the microsoft.graph.authentication entity. */ get passwordlessMicrosoftAuthenticatorMethods(): PasswordlessMicrosoftAuthenticatorMethodsRequestBuilder; /** * Provides operations to manage the passwordMethods property of the microsoft.graph.authentication entity. */ get passwordMethods(): PasswordMethodsRequestBuilder; /** * Provides operations to manage the phoneMethods property of the microsoft.graph.authentication entity. */ get phoneMethods(): PhoneMethodsRequestBuilder; /** * Provides operations to manage the platformCredentialMethods property of the microsoft.graph.authentication entity. */ get platformCredentialMethods(): PlatformCredentialMethodsRequestBuilder; /** * The requirements property */ get requirements(): RequirementsRequestBuilder; /** * The signInPreferences property */ get signInPreferences(): SignInPreferencesRequestBuilder; /** * Provides operations to manage the softwareOathMethods property of the microsoft.graph.authentication entity. */ get softwareOathMethods(): SoftwareOathMethodsRequestBuilder; /** * Provides operations to manage the temporaryAccessPassMethods property of the microsoft.graph.authentication entity. */ get temporaryAccessPassMethods(): TemporaryAccessPassMethodsRequestBuilder; /** * Provides operations to manage the windowsHelloForBusinessMethods property of the microsoft.graph.authentication entity. */ get windowsHelloForBusinessMethods(): WindowsHelloForBusinessMethodsRequestBuilder; /** * Delete navigation property authentication for users * @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 */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * The authentication methods that are supported for the user. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Authentication>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<AuthenticationRequestBuilderGetQueryParameters> | undefined): Promise<Authentication | undefined>; /** * Update the navigation property authentication in users * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Authentication>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: Authentication, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Authentication | undefined>; /** * Delete navigation property authentication for users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * The authentication methods that are supported for the user. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<AuthenticationRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property authentication in users * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: Authentication, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * The authentication methods that are supported for the user. */ export interface AuthenticationRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const AuthenticationRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/authentication{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const AuthenticationRequestBuilderNavigationMetadata: Record<Exclude<keyof AuthenticationRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const AuthenticationRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map