Skip to content

Commit

Permalink
Slight formatting modifications for method arguments
Browse files Browse the repository at this point in the history
Co-authored-by: Arjun Hassard <arjunhassard@gmail.com>
  • Loading branch information
mzkrasner and arjunhassard authored Oct 21, 2024
1 parent d65dda4 commit 617752a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/composedb/examples/taco-access-control.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ const encryptedMessageHex = toHexString(messageKit.toBytes());

Data consumers interact with the TACo API via the `decrypt` function. They include the following arguments:

a. Provider
b. Domain
c. EncryptedMessage
d. ConditionContext
a. `provider`
b. `domain`
c. `encryptedMessage`
d. `conditionContext`

`conditionContext` is a way for developers to programmatically map methods for authenticating a data consumer to specific access conditions – all executable at decryption time. For example, if the condition involves proving ownership of a social account, authenticate via OAuth.

Expand Down

0 comments on commit 617752a

Please sign in to comment.