11.4.4.7 Query Permissions


Function name queryPermission(QueryPermission queryPermission)
Description Invoked by the user to query Permissions that have already been created.
Method call parameters
No. Parameter Type Required Description
1 QueryPermission Y
QueryPermission
1 did String Y DID of Authorizer
2 grantDid String N DID of the authorized person
3 flag UsedFlag N Visit flag. YES: visited; NO: Not visited
4 privateKey String Y Private key
Method return parameters
No. Parameter Type Required Description
1 List<PermissionInfo> Y Query result, list of Permissions
PermissionInfo
1 uid String Y DID
2 grantUid String Y DID of Authorizer
3 url String Y Resource Url
4 grant String Y Operation permissions, WRITE/UPDATE/READ
5 createTime LocalDateTime Y Authorization Creation Time
6 readTime LocalDateTime N Authorized use time
7 flag UsedFlag Y Visit flag. YES: visited; NO: Not visited
8 status Integer Y Delete flag. 0: Deleted; 1: Not deleted
9 key String N Encryption key
10 ownerKey String N Owner's key
© 2019-2021 Red Date (Hong Kong) Technology Limited. all right reserved,powered by GitbookFile Modify: 2021-12-22 16:18:43

results matching ""

    No results matching ""

    results matching ""

      No results matching ""