restapi.services.authentication.NoAuthentication.get_roles_from_user

NoAuthentication.get_roles_from_user(user)[source]

Retrieve roles from a user object from the current auth service

Parameters:

user (Optional[Any])

Return type:

list[str]