Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
verberktstan authored Mar 13, 2024
1 parent ba1f810 commit b924671
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ Then you can use the Swark utility functions:

### swark.authom

Atomic authorization. Generate a token for a map, in conjunction with a password and optional secret. And of course check if it matches.

- `with-token`: Returns a map item with a hashed token in it's metadata.
- `check`: Checks the password (and optional secret) given a map item.
- `disclose`: Returns map item with it's token associated with ::authom/token. Useful for serializing the hashed token.
Expand Down

0 comments on commit b924671

Please sign in to comment.