restapi.services.authentication.BaseAuthentication.create_token

classmethod BaseAuthentication.create_token(payload)[source]

Generate a str token with JWT library to encrypt the payload

Parameters:

payload (Payload)

Return type:

str