Skip to content

Commit

Permalink
[#293] add missing utils function
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonny Bakker committed Nov 28, 2024
1 parent 80aae09 commit f4fe3d1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/openklant/components/token/utils.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import binascii
import os


def generate_token() -> str:
return binascii.hexlify(os.urandom(20)).decode()

0 comments on commit f4fe3d1

Please sign in to comment.