@univerjs-pro/collaboration-client v0.5.0-beta.1 • Docs
Class: AuthzIoHttpService
Extends
Implements
Constructors
new AuthzIoHttpService()
new AuthzIoHttpService(_HTTPService, _configService): AuthzIoHttpService
Parameters
Parameter | Type |
---|---|
_HTTPService | HTTPService |
_configService | IConfigService |
Returns
Overrides
Defined in
packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:23
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
Methods
allowed()
allowed(config): Promise<ActionInfo[]>
Parameters
Parameter | Type |
---|---|
config | AllowedRequest |
Returns
Promise
<ActionInfo
[]>
Implementation of
Defined in
packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:147
batchAllowed()
batchAllowed(config): Promise<ObjectActionInfo[]>
Parameters
Parameter | Type |
---|---|
config | AllowedRequest [] |
Returns
Promise
<ObjectActionInfo
[]>
Implementation of
Defined in
packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:155
create()
create(config): Promise<string>
Parameters
Parameter | Type |
---|---|
config | CreateRequest |
Returns
Promise
<string
>
Implementation of
Defined in
packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:122
createCollaborator()
createCollaborator(config): Promise<void>
Parameters
Parameter | Type |
---|---|
config | CreateCollaboratorRequest |
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
Parameter | Type |
---|---|
config | DeleteCollaboratorRequest |
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
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:106
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:96
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:100
list()
list(config): Promise<PermissionPoint[]>
Parameters
Parameter | Type |
---|---|
config | ListPermPointRequest |
Returns
Promise
<PermissionPoint
[]>
Implementation of
Defined in
packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:131
listCollaborators()
listCollaborators(config): Promise<Collaborator[]>
Parameters
Parameter | Type |
---|---|
config | ListCollaboratorRequest |
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
Parameter | Type |
---|---|
config | ListRolesRequest |
Returns
Promise
<{
actions
: UnitAction
[];
roles
: UnitRoleKV
[];
}>
Name | Type | Defined in |
---|---|---|
actions | UnitAction [] | packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:164 |
roles | UnitRoleKV [] | packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:164 |
Implementation of
Defined in
packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:164
putCollaborators()
putCollaborators(config): Promise<void>
Parameters
Parameter | Type |
---|---|
config | PutCollaboratorsRequest |
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
Parameter | Type |
---|---|
config | UpdatePermPointRequest |
Returns
Promise
<void
>
Implementation of
Defined in
packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:140
updateCollaborator()
updateCollaborator(config): Promise<void>
Parameters
Parameter | Type |
---|---|
config | UpdateCollaboratorRequest |
Returns
Promise
<void
>
Implementation of
IAuthzIoService
.updateCollaborator
Defined in
packages/collaboration-client/src/services/auth-server/authz-io-http.service.ts:187