UNPKG

@leancodepl/kratos

Version:

Headless React components library for building Ory Kratos authentication flows

43 lines 1.7 kB
import { GenericError } from './GenericError'; /** * Is sent when a flow is expired * @export * @interface SelfServiceFlowExpiredError */ export interface SelfServiceFlowExpiredError { /** * * @type {GenericError} * @memberof SelfServiceFlowExpiredError */ error?: GenericError; /** * When the flow has expired * @type {Date} * @memberof SelfServiceFlowExpiredError */ expired_at?: Date; /** * A Duration represents the elapsed time between two instants * as an int64 nanosecond count. The representation limits the * largest representable duration to approximately 290 years. * @type {number} * @memberof SelfServiceFlowExpiredError */ since?: number; /** * The flow ID that should be used for the new flow as it contains the correct messages. * @type {string} * @memberof SelfServiceFlowExpiredError */ use_flow_id?: string; } /** * Check if a given object implements the SelfServiceFlowExpiredError interface. */ export declare function instanceOfSelfServiceFlowExpiredError(value: object): value is SelfServiceFlowExpiredError; export declare function SelfServiceFlowExpiredErrorFromJSON(json: any): SelfServiceFlowExpiredError; export declare function SelfServiceFlowExpiredErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): SelfServiceFlowExpiredError; export declare function SelfServiceFlowExpiredErrorToJSON(json: any): SelfServiceFlowExpiredError; export declare function SelfServiceFlowExpiredErrorToJSONTyped(value?: SelfServiceFlowExpiredError | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=SelfServiceFlowExpiredError.d.ts.map