@leancodepl/kratos
Version:
Headless React components library for building Ory Kratos authentication flows
29 lines • 1.14 kB
TypeScript
import { GenericError } from './GenericError';
/**
* Is sent when a flow is replaced by a different flow of the same class
* @export
* @interface ErrorFlowReplaced
*/
export interface ErrorFlowReplaced {
/**
*
* @type {GenericError}
* @memberof ErrorFlowReplaced
*/
error?: GenericError;
/**
* The flow ID that should be used for the new flow as it contains the correct messages.
* @type {string}
* @memberof ErrorFlowReplaced
*/
use_flow_id?: string;
}
/**
* Check if a given object implements the ErrorFlowReplaced interface.
*/
export declare function instanceOfErrorFlowReplaced(value: object): value is ErrorFlowReplaced;
export declare function ErrorFlowReplacedFromJSON(json: any): ErrorFlowReplaced;
export declare function ErrorFlowReplacedFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorFlowReplaced;
export declare function ErrorFlowReplacedToJSON(json: any): ErrorFlowReplaced;
export declare function ErrorFlowReplacedToJSONTyped(value?: ErrorFlowReplaced | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=ErrorFlowReplaced.d.ts.map