UNPKG

@leancodepl/kratos

Version:

Headless React components library for building Ory Kratos authentication flows

49 lines 1.57 kB
import { SubjectSet } from './SubjectSet'; /** * Check Permission using Post Request Body * @export * @interface PostCheckPermissionBody */ export interface PostCheckPermissionBody { /** * Namespace to query * @type {string} * @memberof PostCheckPermissionBody */ namespace?: string; /** * Object to query * @type {string} * @memberof PostCheckPermissionBody */ object?: string; /** * Relation to query * @type {string} * @memberof PostCheckPermissionBody */ relation?: string; /** * SubjectID to query * * Either SubjectSet or SubjectID can be provided. * @type {string} * @memberof PostCheckPermissionBody */ subject_id?: string; /** * * @type {SubjectSet} * @memberof PostCheckPermissionBody */ subject_set?: SubjectSet; } /** * Check if a given object implements the PostCheckPermissionBody interface. */ export declare function instanceOfPostCheckPermissionBody(value: object): value is PostCheckPermissionBody; export declare function PostCheckPermissionBodyFromJSON(json: any): PostCheckPermissionBody; export declare function PostCheckPermissionBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostCheckPermissionBody; export declare function PostCheckPermissionBodyToJSON(json: any): PostCheckPermissionBody; export declare function PostCheckPermissionBodyToJSONTyped(value?: PostCheckPermissionBody | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=PostCheckPermissionBody.d.ts.map