///
import http = require('http');
import { AddOryAccessControlPolicyRoleMembersBody } from '../model/addOryAccessControlPolicyRoleMembersBody';
import { AuthorizationResult } from '../model/authorizationResult';
import { OryAccessControlPolicy } from '../model/oryAccessControlPolicy';
import { OryAccessControlPolicyAllowedInput } from '../model/oryAccessControlPolicyAllowedInput';
import { OryAccessControlPolicyRole } from '../model/oryAccessControlPolicyRole';
import { Authentication, Interceptor } from '../model/models';
export declare enum EnginesApiApiKeys {
}
export declare class EnginesApi {
protected _basePath: string;
protected _defaultHeaders: any;
protected _useQuerystring: boolean;
protected authentications: {
'default': Authentication;
};
protected interceptors: Interceptor[];
constructor(basePath?: string);
useQuerystring: boolean;
basePath: string;
defaultHeaders: any;
setDefaultAuthentication(auth: Authentication): void;
setApiKey(key: EnginesApiApiKeys, value: string): void;
addInterceptor(interceptor: Interceptor): void;
addOryAccessControlPolicyRoleMembers(flavor: string, id: string, body?: AddOryAccessControlPolicyRoleMembersBody, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: OryAccessControlPolicyRole;
}>;
deleteOryAccessControlPolicy(flavor: string, id: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body?: any;
}>;
deleteOryAccessControlPolicyRole(flavor: string, id: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body?: any;
}>;
doOryAccessControlPoliciesAllow(flavor: string, body?: OryAccessControlPolicyAllowedInput, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: AuthorizationResult;
}>;
getOryAccessControlPolicy(flavor: string, id: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: OryAccessControlPolicy;
}>;
getOryAccessControlPolicyRole(flavor: string, id: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: OryAccessControlPolicyRole;
}>;
listOryAccessControlPolicies(flavor: string, limit?: number, offset?: number, subject?: string, resource?: string, action?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
listOryAccessControlPolicyRoles(flavor: string, limit?: number, offset?: number, member?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
removeOryAccessControlPolicyRoleMembers(flavor: string, id: string, member: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body?: any;
}>;
upsertOryAccessControlPolicy(flavor: string, body?: OryAccessControlPolicy, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: OryAccessControlPolicy;
}>;
upsertOryAccessControlPolicyRole(flavor: string, body?: OryAccessControlPolicyRole, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: OryAccessControlPolicyRole;
}>;
}