mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
clean
This commit is contained in:
@@ -59,6 +59,8 @@ export class AdfHttpClient implements ee.Emitter,JsApiHttpClient {
|
||||
on: ee.EmitterMethod;
|
||||
off: ee.EmitterMethod;
|
||||
once: ee.EmitterMethod;
|
||||
_disableCsrf: boolean;
|
||||
|
||||
emit: (type: string, ...args: any[]) => void;
|
||||
|
||||
get disableCsrf(): boolean {
|
||||
@@ -68,7 +70,7 @@ export class AdfHttpClient implements ee.Emitter,JsApiHttpClient {
|
||||
set disableCsrf(disableCsrf: boolean) {
|
||||
this._disableCsrf = disableCsrf;
|
||||
}
|
||||
|
||||
|
||||
private defaultSecurityOptions = {
|
||||
withCredentials: true,
|
||||
isBpmRequest: false,
|
||||
|
@@ -16,8 +16,6 @@
|
||||
*/
|
||||
|
||||
export interface SecurityOptions {
|
||||
// readonly isBpmRequest: boolean;
|
||||
// readonly enableCsrf?: boolean;
|
||||
readonly withCredentials?: boolean;
|
||||
readonly authentications?: Authentication;
|
||||
readonly defaultHeaders?: Record<string, string>;
|
||||
|
Reference in New Issue
Block a user