You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think a good use of this would be to display authentication-related state. The Context handles the API key (if set) or the tiled.client.auth.TiledAuth object that manages refresh flow. It's in a good position to display, as applicable, the first eight characters of the API key:
>>>client.context<Contextapi_key="abcdef12...">
or the username:
>>>client.context<Contextid="dallan">
or else:
>>>client.context<Contextunauthenticated>
The text was updated successfully, but these errors were encountered:
The
tiled.client.context.Context
object currently has a generic repr:I think a good use of this would be to display authentication-related state. The Context handles the API key (if set) or the
tiled.client.auth.TiledAuth
object that manages refresh flow. It's in a good position to display, as applicable, the first eight characters of the API key:or the username:
or else:
The text was updated successfully, but these errors were encountered: