restapi.services.authentication.NoAuthentication.create_temporary_token

NoAuthentication.create_temporary_token(user, token_type, duration=86400)
Parameters:
  • user (Any)

  • token_type (str)

  • duration (int, default: 86400)

Return type:

tuple[str, Payload]