mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-28 11:46:07 +08:00
combined search css/js/templates are other files into a single structure
This commit is contained in:
10
api/auth/utils.py
Normal file
10
api/auth/utils.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from binascii import hexlify
|
||||
from utilitybelt import dev_urandom_entropy
|
||||
|
||||
|
||||
def generate_app_id():
|
||||
return hexlify(dev_urandom_entropy(16))
|
||||
|
||||
|
||||
def generate_app_secret():
|
||||
return hexlify(dev_urandom_entropy(32))
|
||||
Reference in New Issue
Block a user