client frontend added
This commit is contained in:
@@ -22,7 +22,9 @@ def authentication_page_valid(data: RequestApplication, headers: CommonHeaders =
|
||||
Verify if page is valid returns application that can user reach
|
||||
page: { url = /building/create} | result: { "application": "4c11f5ef-0bbd-41ac-925e-f79d9aac2b0e" }
|
||||
"""
|
||||
return PageHandlers.retrieve_valid_page_via_token(access_token=headers.token, page_url=data.page)
|
||||
list_of = PageHandlers.retrieve_valid_page_via_token(access_token=headers.token, page_url=data.page)
|
||||
print('list_of', list_of)
|
||||
return {"completed": True, "application": list_of}
|
||||
|
||||
|
||||
application_retrieve_all_sites = "ApplicationRetrieveAllSites"
|
||||
@@ -36,4 +38,6 @@ def authentication_get_all_sites_list(headers: CommonHeaders = Depends(CommonHea
|
||||
"""
|
||||
Verify if page is valid returns application that can user reach result: { "sites": ['/dashboard', '/building/create'] }
|
||||
"""
|
||||
return PageHandlers.retrieve_valid_sites_via_token(access_token=headers.token)
|
||||
list_of_application_url = PageHandlers.retrieve_valid_sites_via_token(access_token=headers.token)
|
||||
print('list_of_application_url', list(list_of_application_url))
|
||||
return {"completed": True, "sites": list(list_of_application_url)}
|
||||
|
||||
Reference in New Issue
Block a user