diff options
Diffstat (limited to '55.md')
| -rw-r--r-- | 55.md | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -295,6 +295,8 @@ For the other types Signer Application returns the column "result" | |||
| 295 | 295 | ||
| 296 | If the user chose to always reject the event, signer application will return the column "rejected" and you should not open signer application | 296 | If the user chose to always reject the event, signer application will return the column "rejected" and you should not open signer application |
| 297 | 297 | ||
| 298 | Clients SHOULD save the user pubkey locally and avoid calling the `get_public_key` after the user is logged in to the Client | ||
| 299 | |||
| 298 | #### Methods | 300 | #### Methods |
| 299 | 301 | ||
| 300 | - **get_public_key** | 302 | - **get_public_key** |
| @@ -303,7 +305,7 @@ If the user chose to always reject the event, signer application will return the | |||
| 303 | ```kotlin | 305 | ```kotlin |
| 304 | val result = context.contentResolver.query( | 306 | val result = context.contentResolver.query( |
| 305 | Uri.parse("content://com.example.signer.GET_PUBLIC_KEY"), | 307 | Uri.parse("content://com.example.signer.GET_PUBLIC_KEY"), |
| 306 | listOf("login"), | 308 | listOf(hex_pub_key), |
| 307 | null, | 309 | null, |
| 308 | null, | 310 | null, |
| 309 | null | 311 | null |