2023-03-01 10:50:14 +00:00
|
|
|
name: "Identity"
|
2023-11-28 08:47:12 +00:00
|
|
|
safemethods:
|
|
|
|
- "getAdmin"
|
2023-11-28 10:53:48 +00:00
|
|
|
- "getGroup"
|
|
|
|
- "getGroupExtended"
|
|
|
|
- "getGroupIDByName"
|
|
|
|
- "getNamespace"
|
|
|
|
- "getNamespaceExtended"
|
|
|
|
- "getSubject"
|
|
|
|
- "getSubjectExtended"
|
|
|
|
- "getSubjectByKey"
|
2023-12-07 12:02:57 +00:00
|
|
|
- "getSubjectByName"
|
2023-11-28 10:53:48 +00:00
|
|
|
- "getSubjectKeyByName"
|
|
|
|
- "listGroups"
|
|
|
|
- "listGroupSubjects"
|
|
|
|
- "listNamespaces"
|
|
|
|
- "listNamespaceSubjects"
|
|
|
|
- "listSubjects"
|
2023-11-28 08:47:12 +00:00
|
|
|
- "version"
|
2021-06-23 16:56:56 +00:00
|
|
|
permissions:
|
|
|
|
- methods: ["update"]
|
2023-11-07 10:54:48 +00:00
|
|
|
events:
|
|
|
|
- name: CreateSubject
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: AddSubjectKey
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: subjectKey
|
|
|
|
type: PublicKey
|
|
|
|
- name: RemoveSubjectKey
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: subjectKey
|
|
|
|
type: PublicKey
|
|
|
|
- name: SetSubjectName
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: name
|
|
|
|
type: String
|
|
|
|
- name: SetSubjectKV
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: key
|
|
|
|
type: String
|
|
|
|
- name: value
|
|
|
|
type: String
|
|
|
|
- name: DeleteSubjectKV
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: key
|
|
|
|
type: String
|
|
|
|
- name: DeleteSubject
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: CreateNamespace
|
|
|
|
parameters:
|
|
|
|
- name: namespace
|
|
|
|
type: String
|
|
|
|
- name: AddSubjectToNamespace
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: namespace
|
|
|
|
type: String
|
|
|
|
- name: RemoveSubjectFromNamespace
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: namespace
|
|
|
|
type: String
|
|
|
|
- name: CreateGroup
|
|
|
|
parameters:
|
|
|
|
- name: namespace
|
|
|
|
type: String
|
|
|
|
- name: group
|
|
|
|
type: String
|
2023-11-09 08:01:17 +00:00
|
|
|
- name: SetGroupName
|
|
|
|
parameters:
|
|
|
|
- name: namespace
|
|
|
|
type: String
|
|
|
|
- name: groupID
|
|
|
|
type: Integer
|
|
|
|
- name: name
|
|
|
|
type: String
|
|
|
|
- name: SetGroupKV
|
|
|
|
parameters:
|
|
|
|
- name: namespace
|
|
|
|
type: String
|
|
|
|
- name: groupID
|
|
|
|
type: Integer
|
|
|
|
- name: key
|
|
|
|
type: String
|
|
|
|
- name: value
|
|
|
|
type: String
|
|
|
|
- name: DeleteGroupKV
|
|
|
|
parameters:
|
|
|
|
- name: namespace
|
|
|
|
type: String
|
|
|
|
- name: groupID
|
|
|
|
type: Integer
|
|
|
|
- name: key
|
|
|
|
type: String
|
2023-11-07 10:54:48 +00:00
|
|
|
- name: AddSubjectToGroup
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: namespace
|
|
|
|
type: String
|
2023-11-09 08:01:17 +00:00
|
|
|
- name: groupID
|
|
|
|
type: Integer
|
2023-11-07 10:54:48 +00:00
|
|
|
- name: RemoveSubjectFromGroup
|
|
|
|
parameters:
|
|
|
|
- name: subjectAddress
|
|
|
|
type: Hash160
|
|
|
|
- name: namespace
|
|
|
|
type: String
|
2023-11-09 08:01:17 +00:00
|
|
|
- name: groupID
|
|
|
|
type: Integer
|
2023-11-07 10:54:48 +00:00
|
|
|
- name: DeleteGroup
|
|
|
|
parameters:
|
|
|
|
- name: namespace
|
|
|
|
type: String
|
2023-11-09 08:01:17 +00:00
|
|
|
- name: groupID
|
|
|
|
type: Integer
|