Access the underlying HiyveAuth client instance for advanced use cases.
Use this when you need to call identity-client methods that aren't exposed through the provider's convenience wrappers.
The HiyveAuth client instance.
Error if called outside of an IdentityProvider.
function AdvancedAuth() { const authClient = useAuthClient(); // Call identity-client methods directly const tokens = await authClient.getTokens();} Copy
function AdvancedAuth() { const authClient = useAuthClient(); // Call identity-client methods directly const tokens = await authClient.getTokens();}
Access the underlying HiyveAuth client instance for advanced use cases.
Use this when you need to call identity-client methods that aren't exposed through the provider's convenience wrappers.