@leancodepl/kratos
Version:
Headless React components library for building Ory Kratos authentication flows
29 lines • 1.19 kB
TypeScript
import { GenericError } from './GenericError';
/**
*
* @export
* @interface NeedsPrivilegedSessionError
*/
export interface NeedsPrivilegedSessionError {
/**
*
* @type {GenericError}
* @memberof NeedsPrivilegedSessionError
*/
error?: GenericError;
/**
* Points to where to redirect the user to next.
* @type {string}
* @memberof NeedsPrivilegedSessionError
*/
redirect_browser_to: string;
}
/**
* Check if a given object implements the NeedsPrivilegedSessionError interface.
*/
export declare function instanceOfNeedsPrivilegedSessionError(value: object): value is NeedsPrivilegedSessionError;
export declare function NeedsPrivilegedSessionErrorFromJSON(json: any): NeedsPrivilegedSessionError;
export declare function NeedsPrivilegedSessionErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): NeedsPrivilegedSessionError;
export declare function NeedsPrivilegedSessionErrorToJSON(json: any): NeedsPrivilegedSessionError;
export declare function NeedsPrivilegedSessionErrorToJSONTyped(value?: NeedsPrivilegedSessionError | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=NeedsPrivilegedSessionError.d.ts.map