useSanctumUser
This composable provides access to the current authenticated user. It supports generic types, so you can get the user as any class you want.
If there is no authenticated user, the composable will return null
.
This composable provides access to the current authenticated user. It supports generic types, so you can get the user as any class you want.
If there is no authenticated user, the composable will return null
.