@univerjs-pro/collaboration-client v0.5.4


Class: AuthzIoHttpService

Defined in: packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:22

Extends

Implements

Constructors

new AuthzIoHttpService()

new AuthzIoHttpService(_HTTPService, _configService): AuthzIoHttpService

Defined in: packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:23

Parameters

ParameterType
_HTTPServiceHTTPService
_configServiceIConfigService

Returns

AuthzIoHttpService

Overrides

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96

Methods

allowed()

allowed(config): Promise<ActionInfo[]>

Defined in: packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:147

Parameters

ParameterType
configAllowedRequest

Returns

Promise<ActionInfo[]>

Implementation of

IAuthzIoService.allowed


batchAllowed()

batchAllowed(config): Promise<ObjectActionInfo[]>

Defined in: packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:155

Parameters

ParameterType
configAllowedRequest[]

Returns

Promise<ObjectActionInfo[]>

Implementation of

IAuthzIoService.batchAllowed


create()

create(config): Promise<string>

Defined in: packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:122

Parameters

ParameterType
configCreateRequest

Returns

Promise<string>

Implementation of

IAuthzIoService.create


createCollaborator()

createCollaborator(config): Promise<void>

Defined in: packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:195

Parameters

ParameterType
configCreateCollaboratorRequest

Returns

Promise<void>

Implementation of

IAuthzIoService.createCollaborator


deleteCollaborator()

deleteCollaborator(config): Promise<void>

Defined in: packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:176

Parameters

ParameterType
configDeleteCollaboratorRequest

Returns

Promise<void>

Implementation of

IAuthzIoService.deleteCollaborator


dispose()

dispose(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:109

Returns

void

Inherited from

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed


list()

list(config): Promise<PermissionPoint[]>

Defined in: packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:131

Parameters

ParameterType
configListPermPointRequest

Returns

Promise<PermissionPoint[]>

Implementation of

IAuthzIoService.list


listCollaborators()

listCollaborators(config): Promise<Collaborator[]>

Defined in: packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:203

Parameters

ParameterType
configListCollaboratorRequest

Returns

Promise<Collaborator[]>

Implementation of

IAuthzIoService.listCollaborators


listRoles()

listRoles(config): Promise<{
  actions: UnitAction[];
  roles: UnitRoleKV[];
}>

Defined in: packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:164

Parameters

ParameterType
configListRolesRequest

Returns

Promise<{ actions: UnitAction[]; roles: UnitRoleKV[]; }>

Implementation of

IAuthzIoService.listRoles


putCollaborators()

putCollaborators(config): Promise<void>

Defined in: packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:212

Parameters

ParameterType
configPutCollaboratorsRequest

Returns

Promise<void>

Implementation of

IAuthzIoService.putCollaborators


update()

update(config): Promise<void>

Defined in: packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:140

Parameters

ParameterType
configUpdatePermPointRequest

Returns

Promise<void>

Implementation of

IAuthzIoService.update


updateCollaborator()

updateCollaborator(config): Promise<void>

Defined in: packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:187

Parameters

ParameterType
configUpdateCollaboratorRequest

Returns

Promise<void>

Implementation of

IAuthzIoService.updateCollaborator