|
@@ -1,12 +1,12 @@
|
|
|
from common.security import *
|
|
|
from datetime import timedelta
|
|
|
|
|
|
-# print(get_secret_hash('byo'))
|
|
|
+print(get_secret_hash('666666'))
|
|
|
|
|
|
user_id = "1"
|
|
|
access_token_expires = timedelta(days= 3650)
|
|
|
access_token = create_access_token(
|
|
|
data={"sub": user_id}, expires_delta = access_token_expires
|
|
|
)
|
|
|
-print(access_token)
|
|
|
+#print(access_token)
|
|
|
# eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxIiwiZXhwIjoyMDM5Njk2ODMzfQ.Rhd38oo_S1odjg0xnT4n31cCWCAAPXGb8y_V2XcgqzQ
|