Accounts handler

class luna_backport3.app.handlers.accounts_handler.AccountHandler(request)[source]

Handler to get account information, only authorization is required.

async get()[source]

Account info handler. See spec_get_account.

Returns:

json with email, organization name and account status

Return type:

HTTPResponse

class luna_backport3.app.handlers.accounts_handler.AccountsHandler(request)[source]

Accounts handler

async post()[source]

Accounts registration. See spec_create_account.

Returns:

json with token

Return type:

HTTPResponse