UNPKG

@leancodepl/kratos

Version:

Headless React components library for building Ory Kratos authentication flows

46 lines 1.76 kB
import { ContinueWith } from './ContinueWith'; import { Session } from './Session'; /** * The Response for Login Flows via API * @export * @interface SuccessfulNativeLogin */ export interface SuccessfulNativeLogin { /** * Contains a list of actions, that could follow this flow * * It can, for example, this will contain a reference to the verification flow, created as part of the user's * registration or the token of the session. * @type {Array<ContinueWith>} * @memberof SuccessfulNativeLogin */ continue_with?: Array<ContinueWith>; /** * * @type {Session} * @memberof SuccessfulNativeLogin */ session: Session; /** * The Session Token * * A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization * Header: * * Authorization: bearer ${session-token} * * The session token is only issued for API flows, not for Browser flows! * @type {string} * @memberof SuccessfulNativeLogin */ session_token?: string; } /** * Check if a given object implements the SuccessfulNativeLogin interface. */ export declare function instanceOfSuccessfulNativeLogin(value: object): value is SuccessfulNativeLogin; export declare function SuccessfulNativeLoginFromJSON(json: any): SuccessfulNativeLogin; export declare function SuccessfulNativeLoginFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessfulNativeLogin; export declare function SuccessfulNativeLoginToJSON(json: any): SuccessfulNativeLogin; export declare function SuccessfulNativeLoginToJSONTyped(value?: SuccessfulNativeLogin | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=SuccessfulNativeLogin.d.ts.map