@leancodepl/kratos
Version:
Headless React components library for building Ory Kratos authentication flows
65 lines • 1.99 kB
TypeScript
import { OAuth2Client } from './OAuth2Client';
/**
*
* @export
* @interface OAuth2LogoutRequest
*/
export interface OAuth2LogoutRequest {
/**
* Challenge is the identifier of the logout authentication request.
* @type {string}
* @memberof OAuth2LogoutRequest
*/
challenge?: string;
/**
*
* @type {OAuth2Client}
* @memberof OAuth2LogoutRequest
*/
client?: OAuth2Client;
/**
*
* @type {Date}
* @memberof OAuth2LogoutRequest
*/
expires_at?: Date;
/**
* RequestURL is the original Logout URL requested.
* @type {string}
* @memberof OAuth2LogoutRequest
*/
request_url?: string;
/**
*
* @type {Date}
* @memberof OAuth2LogoutRequest
*/
requested_at?: Date;
/**
* RPInitiated is set to true if the request was initiated by a Relying Party (RP), also known as an OAuth 2.0 Client.
* @type {boolean}
* @memberof OAuth2LogoutRequest
*/
rp_initiated?: boolean;
/**
* SessionID is the login session ID that was requested to log out.
* @type {string}
* @memberof OAuth2LogoutRequest
*/
sid?: string;
/**
* Subject is the user for whom the logout was request.
* @type {string}
* @memberof OAuth2LogoutRequest
*/
subject?: string;
}
/**
* Check if a given object implements the OAuth2LogoutRequest interface.
*/
export declare function instanceOfOAuth2LogoutRequest(value: object): value is OAuth2LogoutRequest;
export declare function OAuth2LogoutRequestFromJSON(json: any): OAuth2LogoutRequest;
export declare function OAuth2LogoutRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2LogoutRequest;
export declare function OAuth2LogoutRequestToJSON(json: any): OAuth2LogoutRequest;
export declare function OAuth2LogoutRequestToJSONTyped(value?: OAuth2LogoutRequest | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=OAuth2LogoutRequest.d.ts.map