OptionalerrorError encountered during authentication, if any.
Retrieves the active tokens, refreshing them if they have expired.
Flag indicating if the user is authenticated.
Flag indicating if the authentication state is still loading.
Refetches the user's profile from the UserInfo endpoint and updates the session.
Refreshes the current session using the Refresh Token Grant.
OptionalsessionThe current session, including tokens and the user, if available.
Initiates the sign-in flow.
Attempts to silently restore the session via a hidden iframe (prompt=none).
Initiates the sign-out flow.
OptionaluserThe authenticated user's information, if available.
The current authentication state and the authentication actions.