@univerjs-procollaboration-clientclassesAuthziohttpservice

@univerjs-pro/collaboration-client v0.5.0-beta.1 • Docs


Class: AuthzIoHttpService

Extends

Implements

Constructors

new AuthzIoHttpService()

new AuthzIoHttpService(_HTTPService, _configService): AuthzIoHttpService

Parameters

ParameterType
_HTTPServiceHTTPService
_configServiceIConfigService

Returns

AuthzIoHttpService

Overrides

Disposable.constructor

Defined in

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

Properties

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

Methods

allowed()

allowed(config): Promise<ActionInfo[]>

Parameters

ParameterType
configAllowedRequest

Returns

Promise<ActionInfo[]>

Implementation of

IAuthzIoService.allowed

Defined in

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


batchAllowed()

batchAllowed(config): Promise<ObjectActionInfo[]>

Parameters

ParameterType
configAllowedRequest[]

Returns

Promise<ObjectActionInfo[]>

Implementation of

IAuthzIoService.batchAllowed

Defined in

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


create()

create(config): Promise<string>

Parameters

ParameterType
configCreateRequest

Returns

Promise<string>

Implementation of

IAuthzIoService.create

Defined in

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


createCollaborator()

createCollaborator(config): Promise<void>

Parameters

ParameterType
configCreateCollaboratorRequest

Returns

Promise<void>

Implementation of

IAuthzIoService.createCollaborator

Defined in

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


deleteCollaborator()

deleteCollaborator(config): Promise<void>

Parameters

ParameterType
configDeleteCollaboratorRequest

Returns

Promise<void>

Implementation of

IAuthzIoService.deleteCollaborator

Defined in

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


dispose()

dispose(): void

Returns

void

Inherited from

Disposable.dispose

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:106


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:96


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:100


list()

list(config): Promise<PermissionPoint[]>

Parameters

ParameterType
configListPermPointRequest

Returns

Promise<PermissionPoint[]>

Implementation of

IAuthzIoService.list

Defined in

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


listCollaborators()

listCollaborators(config): Promise<Collaborator[]>

Parameters

ParameterType
configListCollaboratorRequest

Returns

Promise<Collaborator[]>

Implementation of

IAuthzIoService.listCollaborators

Defined in

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


listRoles()

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

Parameters

ParameterType
configListRolesRequest

Returns

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

NameTypeDefined in
actionsUnitAction[]packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:164
rolesUnitRoleKV[]packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:164

Implementation of

IAuthzIoService.listRoles

Defined in

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


putCollaborators()

putCollaborators(config): Promise<void>

Parameters

ParameterType
configPutCollaboratorsRequest

Returns

Promise<void>

Implementation of

IAuthzIoService.putCollaborators

Defined in

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


update()

update(config): Promise<void>

Parameters

ParameterType
configUpdatePermPointRequest

Returns

Promise<void>

Implementation of

IAuthzIoService.update

Defined in

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


updateCollaborator()

updateCollaborator(config): Promise<void>

Parameters

ParameterType
configUpdateCollaboratorRequest

Returns

Promise<void>

Implementation of

IAuthzIoService.updateCollaborator

Defined in

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