def get_username(self):
_from = self.auth_context['<STR_LIT>']<EOL>if self.token_version == <NUM_LIT:1>:<EOL><INDENT>return '<STR_LIT>'.format(_from)<EOL><DEDENT>elif self.token_version == <NUM_LIT:2>:<EOL><INDENT>_user_type = self.auth_context['<STR_LIT>']<EOL>return '<STR_LIT>'.format(<EOL>self.token_version,<EOL>_user_type,<EOL>_from<EOL>)<EOL><DEDENT>
Get a username formatted for a specific token version.