@leancodepl/kratos
Version:
Headless React components library for building Ory Kratos authentication flows
61 lines • 2.16 kB
TypeScript
import { AcceptOAuth2ConsentRequestSession } from './AcceptOAuth2ConsentRequestSession';
/**
*
* @export
* @interface AcceptOAuth2ConsentRequest
*/
export interface AcceptOAuth2ConsentRequest {
/**
*
* @type {object}
* @memberof AcceptOAuth2ConsentRequest
*/
context?: object;
/**
*
* @type {Array<string>}
* @memberof AcceptOAuth2ConsentRequest
*/
grant_access_token_audience?: Array<string>;
/**
*
* @type {Array<string>}
* @memberof AcceptOAuth2ConsentRequest
*/
grant_scope?: Array<string>;
/**
*
* @type {Date}
* @memberof AcceptOAuth2ConsentRequest
*/
handled_at?: Date;
/**
* Remember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same
* client asks the same user for the same, or a subset of, scope.
* @type {boolean}
* @memberof AcceptOAuth2ConsentRequest
*/
remember?: boolean;
/**
* RememberFor sets how long the consent authorization should be remembered for in seconds. If set to `0`, the
* authorization will be remembered indefinitely.
* @type {number}
* @memberof AcceptOAuth2ConsentRequest
*/
remember_for?: number;
/**
*
* @type {AcceptOAuth2ConsentRequestSession}
* @memberof AcceptOAuth2ConsentRequest
*/
session?: AcceptOAuth2ConsentRequestSession;
}
/**
* Check if a given object implements the AcceptOAuth2ConsentRequest interface.
*/
export declare function instanceOfAcceptOAuth2ConsentRequest(value: object): value is AcceptOAuth2ConsentRequest;
export declare function AcceptOAuth2ConsentRequestFromJSON(json: any): AcceptOAuth2ConsentRequest;
export declare function AcceptOAuth2ConsentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AcceptOAuth2ConsentRequest;
export declare function AcceptOAuth2ConsentRequestToJSON(json: any): AcceptOAuth2ConsentRequest;
export declare function AcceptOAuth2ConsentRequestToJSONTyped(value?: AcceptOAuth2ConsentRequest | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=AcceptOAuth2ConsentRequest.d.ts.map