Пример #1
0
def get_session_token(request, space_id, auth_key):
    response = service.get_session(space_id, auth_key)
    return JsonResponse(response[1], status=response[0])
Пример #2
0
def get_session(request, tenant, auth_key):
    print("*****************")
    print(auth_key)
    response = service.get_session(tenant, auth_key)
    return JsonResponse(response[1], status=response[0])