get_user
Get the current user
Signature
def get_user(
refresh: bool = False
) -> <class 'abstra_internals.jwt_auth.UserClaims'>
Parameters
Name | Description | Type | Default |
---|---|---|---|
refresh | Whether to force refresh the user. Defaults to False. Union[UserClaims, None]: User information | bool | False |
Return Value
<class 'abstra_internals.jwt_auth.UserClaims'>