| a fully resolved identity is written through to the cache |
a fully resolved identity is written through to the cache |
1 |
0 |
0 |
0.382s |
100% |
| an identity resolved before its cohort is cached anyway |
an identity resolved before its cohort is cached anyway |
1 |
0 |
0 |
0.218s |
100% |
| an identity with no uniqueId is not cached |
an identity with no uniqueId is not cached |
1 |
0 |
0 |
0.252s |
100% |
| currentFirebaseUid returns firebase uid |
currentFirebaseUid returns firebase uid |
1 |
0 |
0 |
0.153s |
100% |
| currentFirebaseUid returns null when not signed in |
currentFirebaseUid returns null when not signed in |
1 |
0 |
0 |
0.236s |
100% |
| currentUserId falls back to firebase uid when resolvedUniqueId is null |
currentUserId falls back to firebase uid when resolvedUniqueId is null |
1 |
0 |
0 |
0.231s |
100% |
| currentUserId prefers resolvedUniqueId over firebase uid |
currentUserId prefers resolvedUniqueId over firebase uid |
1 |
0 |
0 |
0.110s |
100% |
| currentUserId returns null when not signed in |
currentUserId returns null when not signed in |
1 |
0 |
0 |
0.181s |
100% |
| currentUserId returns uid when signed in |
currentUserId returns uid when signed in |
1 |
0 |
0 |
0.112s |
100% |
| getProviderInfo returns apple provider with uid |
getProviderInfo returns apple provider with uid |
1 |
0 |
0 |
0.102s |
100% |
| getProviderInfo returns email provider |
getProviderInfo returns email provider |
1 |
0 |
0 |
0.913s |
100% |
| getProviderInfo returns google provider with email |
getProviderInfo returns google provider with email |
1 |
0 |
0 |
0.129s |
100% |
| getProviderInfo returns null for google without email |
getProviderInfo returns null for google without email |
1 |
0 |
0 |
0.069s |
100% |
| getProviderInfo returns null when not signed in |
getProviderInfo returns null when not signed in |
1 |
0 |
0 |
0.122s |
100% |
| getProviderInfo skips firebase provider and returns google |
getProviderInfo skips firebase provider and returns google |
1 |
0 |
0 |
0.140s |
100% |
| isAuthenticated returns false when no user |
isAuthenticated returns false when no user |
1 |
0 |
0 |
0.074s |
100% |
| isAuthenticated returns true when user exists |
isAuthenticated returns true when user exists |
1 |
0 |
0 |
0.091s |
100% |
| refreshIdToken calls getIdToken with forceRefresh=true on success |
refreshIdToken calls getIdToken with forceRefresh=true on success |
1 |
0 |
0 |
0.245s |
100% |
| refreshIdToken invalidates the API client's cached bearer token |
refreshIdToken invalidates the API client's cached bearer token |
1 |
0 |
0 |
0.247s |
100% |
| refreshIdToken returns Error when getIdToken fails |
refreshIdToken returns Error when getIdToken fails |
1 |
0 |
0 |
0.128s |
100% |
| refreshIdToken returns Error when no signed-in user |
refreshIdToken returns Error when no signed-in user |
1 |
0 |
0 |
0.204s |
100% |
| refreshIdToken with no signed-in user errors AND still clears the token cache |
refreshIdToken with no signed-in user errors AND still clears the token cache |
1 |
0 |
0 |
0.264s |
100% |
| sendSignInLink calls Firebase sendSignInLinkToEmail |
sendSignInLink calls Firebase sendSignInLinkToEmail |
1 |
0 |
0 |
0.208s |
100% |
| sendSignInLink returns Error on exception |
sendSignInLink returns Error on exception |
1 |
0 |
0 |
0.160s |
100% |
| signInWithAppleIdToken builds credential via setIdTokenWithRawNonce, never via setAccessToken(rawNonce) |
signInWithAppleIdToken builds credential via setIdTokenWithRawNonce, never via setAccessToken(rawNonce) |
1 |
0 |
0 |
0.073s |
100% |
| signInWithAppleIdToken returns Error on failure |
signInWithAppleIdToken returns Error on failure |
1 |
0 |
0 |
0.109s |
100% |
| signInWithEmailLink authenticates and returns uid |
signInWithEmailLink authenticates and returns uid |
1 |
0 |
0 |
0.111s |
100% |
| signInWithEmailLink returns Error on failure |
signInWithEmailLink returns Error on failure |
1 |
0 |
0 |
0.342s |
100% |
| signInWithGoogleIdToken returns Error on exception |
signInWithGoogleIdToken returns Error on exception |
1 |
0 |
0 |
0.145s |
100% |
| signInWithGoogleIdToken returns Error when user is null |
signInWithGoogleIdToken returns Error when user is null |
1 |
0 |
0 |
0.156s |
100% |
| signInWithGoogleIdToken returns Success with uid |
signInWithGoogleIdToken returns Success with uid |
1 |
0 |
0 |
0.174s |
100% |
| signOut calls auth signOut |
signOut calls auth signOut |
1 |
0 |
0 |
1.480s |
100% |
| signOut clears resolvedUniqueId |
signOut clears resolvedUniqueId |
1 |
0 |
0 |
0.152s |
100% |
| signOut invalidates the API token cache BEFORE dropping the Firebase session |
signOut invalidates the API token cache BEFORE dropping the Firebase session |
1 |
0 |
0 |
0.079s |
100% |
| signOut leaves no identity on disk |
signOut leaves no identity on disk |
1 |
0 |
0 |
0.230s |
100% |
| signOut leaves no identity on disk even when the platform sign-out throws |
signOut leaves no identity on disk even when the platform sign-out throws |
1 |
0 |
0 |
0.228s |
100% |
| signOut still clears the token cache when the platform sign-out throws |
signOut still clears the token cache when the platform sign-out throws |
1 |
0 |
0 |
0.120s |
100% |