Package coprs :: Module helpers
[hide private]
[frames] | no frames]

Module helpers

source code

Classes [hide private]
  EnumType
  PermissionEnum
  ActionTypeEnum
  BackendResultEnum
  RoleEnum
  Paginator
Functions [hide private]
 
generate_api_token(size=30)
Generate a random string used as token to access the API remotely.
source code
Function Details [hide private]

generate_api_token(size=30)

source code 
Generate a random string used as token to access the API
remotely.

:kwarg: size, the size of the token to generate, defaults to 30
    chars.
:return: a string, the API token for the user.