Skip to main content

get_user

Get the current user

Signature

def get_user(
refresh: bool = False
) -> <class 'abstra_internals.jwt_auth.UserClaims'>

Parameters

NameDescriptionTypeDefault
refreshWhether to force refresh the user. Defaults to False. Union[UserClaims, None]: User informationboolFalse

Return Value

<class 'abstra_internals.jwt_auth.UserClaims'>