Exemplo n.º 1
0
 def get(self):
     assert 'other headers' == SecurityManager.getJwtHeaders().get(
         'some'
     ), f"other headers == {SecurityManager.getJwtHeaders().get('some')} should be equals. Headers: {SecurityManager.getJwtHeaders()}"
     return {
         'secured': 'information',
         'after': 'refresh',
         'currentUser': SecurityManager.getCurrentUser()
     }, HttpStatus.OK
Exemplo n.º 2
0
 def get(self):
     return {
         'secured': 'information',
         'currentUser': SecurityManager.getCurrentUser()
     }, HttpStatus.OK