import { useTownsAuthStatus } from '@towns-protocol/react-sdk'
function useTownsAuthStatus( config?: ObservableConfig.FromObservable<AuthStatus>, ): { status: AuthStatus; isInitializing: boolean; isEvaluatingCredentials: boolean; isCredentialed: boolean; isConnectingToTowns: boolean; isConnectedToTowns: boolean; isDisconnected: boolean; isError: boolean; }
ObservableConfig.FromObservable<AuthStatus>
{ status: AuthStatus; isInitializing: boolean; isEvaluatingCredentials: boolean; isCredentialed: boolean; isConnectingToTowns: boolean; isConnectedToTowns: boolean; isDisconnected: boolean; isError: boolean; }
Was this page helpful?