Get current user and scopes

Returns the ID and scopes of the currently authenticated user or service account. Useful for verifying authentication and checking available permissions.