@microsoft/msgraph-beta-sdk-users
Version:
Users fluent API for Microsoft Graph
52 lines • 3.56 kB
TypeScript
import { type BaseCollectionPaginationCountResponse, type PasswordSingleSignOnCredentialSet } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
/**
* Creates a new instance of the appropriate class based on discriminator value
* @param parseNode The parse node to use to read the discriminator value and create the object
* @returns {GetPasswordSingleSignOnCredentialsPostResponse}
*/
export declare function createGetPasswordSingleSignOnCredentialsPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
/**
* The deserialization information for the current model
* @returns {Record<string, (node: ParseNode) => void>}
*/
export declare function deserializeIntoGetPasswordSingleSignOnCredentialsPostResponse(getPasswordSingleSignOnCredentialsPostResponse?: Partial<GetPasswordSingleSignOnCredentialsPostResponse> | undefined): Record<string, (node: ParseNode) => void>;
export interface GetPasswordSingleSignOnCredentialsPostResponse extends BaseCollectionPaginationCountResponse, Parsable {
/**
* The value property
*/
value?: PasswordSingleSignOnCredentialSet[] | null;
}
/**
* Provides operations to call the getPasswordSingleSignOnCredentials method.
*/
export interface GetPasswordSingleSignOnCredentialsRequestBuilder extends BaseRequestBuilder<GetPasswordSingleSignOnCredentialsRequestBuilder> {
/**
* Get the list of password-based single sign-on credentials for a given user. This API returns the encrypted passwords as null or empty strings.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<GetPasswordSingleSignOnCredentialsPostResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/user-getpasswordsinglesignoncredentials?view=graph-rest-beta|Find more info here}
*/
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GetPasswordSingleSignOnCredentialsPostResponse | undefined>;
/**
* Get the list of password-based single sign-on credentials for a given user. This API returns the encrypted passwords as null or empty strings.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Serializes information the current object
* @param writer Serialization writer to use to serialize this model
*/
export declare function serializeGetPasswordSingleSignOnCredentialsPostResponse(writer: SerializationWriter, getPasswordSingleSignOnCredentialsPostResponse?: Partial<GetPasswordSingleSignOnCredentialsPostResponse> | undefined | null): void;
/**
* Uri template for the request builder.
*/
export declare const GetPasswordSingleSignOnCredentialsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/getPasswordSingleSignOnCredentials";
/**
* Metadata for all the requests in the request builder.
*/
export declare const GetPasswordSingleSignOnCredentialsRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map