cohorta/node_modules/@azure/msal-browser/src/custom_auth/CustomAuthActionInputs.ts
2025-12-19 19:26:16 +00:00

40 lines
913 B
TypeScript
Executable file

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { UserAccountAttributes } from "./UserAccountAttributes.js";
export type CustomAuthActionInputs = {
correlationId?: string;
};
export type AccountRetrievalInputs = CustomAuthActionInputs;
export type SignInInputs = CustomAuthActionInputs & {
username: string;
password?: string;
scopes?: Array<string>;
claims?: string;
};
export type SignUpInputs = CustomAuthActionInputs & {
username: string;
password?: string;
attributes?: UserAccountAttributes;
};
export type ResetPasswordInputs = CustomAuthActionInputs & {
username: string;
};
export type AccessTokenRetrievalInputs = {
forceRefresh: boolean;
scopes?: Array<string>;
claims?: string;
};
export type SignInWithContinuationTokenInputs = {
scopes?: Array<string>;
claims?: string;
};