@azure/msal-browser
Version:
Microsoft Authentication Library for js
27 lines • 1.14 kB
TypeScript
import { CustomAuthBrowserConfiguration } from "../../configuration/CustomAuthConfiguration.js";
import { Logger } from "@azure/msal-common/browser";
export interface AuthFlowActionRequiredStateParameters {
correlationId: string;
logger: Logger;
config: CustomAuthBrowserConfiguration;
continuationToken?: string;
}
/**
* Base class for the state of an authentication flow.
*/
export declare abstract class AuthFlowStateBase {
}
/**
* Base class for the action requried state in an authentication flow.
*/
export declare abstract class AuthFlowActionRequiredStateBase<TParameter extends AuthFlowActionRequiredStateParameters> extends AuthFlowStateBase {
protected readonly stateParameters: TParameter;
/**
* Creates a new instance of AuthFlowActionRequiredStateBase.
* @param stateParameters The parameters for the auth state.
*/
protected constructor(stateParameters: TParameter);
protected ensureCodeIsValid(code: string, codeLength: number): void;
protected ensurePasswordIsNotEmpty(password: string): void;
}
//# sourceMappingURL=AuthFlowState.d.ts.map