-
Notifications
You must be signed in to change notification settings - Fork 945
Add documentation for auth@next #3938
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Binary Size ReportAffected SDKs
Test Logs
|
Size Analysis ReportAffected Products
|
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 44.9 kB | 45.0 kB | +169 B (+0.4%) |
size_with_ext_deps | 55.5 kB | 55.7 kB | +170 B (+0.3%) |
AuthCredential
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 44.1 kB | 44.3 kB | +169 B (+0.4%) |
size_with_ext_deps | 54.8 kB | 55.0 kB | +170 B (+0.3%) |
EmailAuthCredential
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 45.9 kB | 46.1 kB | +169 B (+0.4%) |
size_with_ext_deps | 56.6 kB | 56.7 kB | +170 B (+0.3%) |
EmailAuthProvider
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 47.2 kB | 47.4 kB | +169 B (+0.4%) |
size_with_ext_deps | 57.9 kB | 58.1 kB | +170 B (+0.3%) |
FacebookAuthProvider
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 47.3 kB | 47.4 kB | +169 B (+0.4%) |
size_with_ext_deps | 57.9 kB | 58.1 kB | +170 B (+0.3%) |
GithubAuthProvider
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 47.2 kB | 47.4 kB | +169 B (+0.4%) |
size_with_ext_deps | 57.9 kB | 58.1 kB | +170 B (+0.3%) |
GoogleAuthProvider
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 47.2 kB | 47.4 kB | +169 B (+0.4%) |
size_with_ext_deps | 57.9 kB | 58.1 kB | +170 B (+0.3%) |
OAuthCredential
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 45.9 kB | 46.1 kB | +169 B (+0.4%) |
size_with_ext_deps | 56.6 kB | 56.8 kB | +170 B (+0.3%) |
OAuthProvider
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 46.6 kB | 46.8 kB | +169 B (+0.4%) |
size_with_ext_deps | 57.3 kB | 57.5 kB | +170 B (+0.3%) |
PhoneAuthCredential
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 45.9 kB | 46.0 kB | +169 B (+0.4%) |
size_with_ext_deps | 56.5 kB | 56.7 kB | +170 B (+0.3%) |
PhoneAuthProvider
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 47.6 kB | 47.7 kB | +169 B (+0.4%) |
size_with_ext_deps | 58.3 kB | 58.4 kB | +170 B (+0.3%) |
PhoneMultiFactorGenerator
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 44.8 kB | 44.9 kB | +169 B (+0.4%) |
size_with_ext_deps | 55.4 kB | 55.6 kB | +170 B (+0.3%) |
RecaptchaVerifier
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 50.4 kB | 50.5 kB | +169 B (+0.3%) |
size_with_ext_deps | 61.0 kB | 61.2 kB | +170 B (+0.3%) |
TwitterAuthProvider
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 47.3 kB | 47.4 kB | +169 B (+0.4%) |
size_with_ext_deps | 57.9 kB | 58.1 kB | +170 B (+0.3%) |
applyActionCode
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 44.0 kB | 44.1 kB | +169 B (+0.4%) |
size_with_ext_deps | 54.6 kB | 54.8 kB | +170 B (+0.3%) |
browserLocalPersistence
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 46.8 kB | 47.0 kB | +169 B (+0.4%) |
size_with_ext_deps | 57.5 kB | 57.7 kB | +170 B (+0.3%) |
browserPopupRedirectResolver
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 55.8 kB | 55.9 kB | +169 B (+0.3%) |
size_with_ext_deps | 66.5 kB | 66.7 kB | +170 B (+0.3%) |
browserSessionPersistence
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 44.5 kB | 44.7 kB | +169 B (+0.4%) |
size_with_ext_deps | 55.2 kB | 55.3 kB | +170 B (+0.3%) |
checkActionCode
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 45.0 kB | 45.2 kB | +169 B (+0.4%) |
size_with_ext_deps | 55.6 kB | 55.8 kB | +170 B (+0.3%) |
confirmPasswordReset
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 44.0 kB | 44.2 kB | +169 B (+0.4%) |
size_with_ext_deps | 54.7 kB | 54.8 kB | +170 B (+0.3%) |
createUserWithEmailAndPassword
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 44.9 kB | 45.1 kB | +169 B (+0.4%) |
size_with_ext_deps | 55.5 kB | 55.7 kB | +170 B (+0.3%) |
deleteUser
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 43.9 kB | 44.1 kB | +169 B (+0.4%) |
size_with_ext_deps | 54.6 kB | 54.7 kB | +170 B (+0.3%) |
fetchSignInMethodsForEmail
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 44.2 kB | 44.4 kB | +169 B (+0.4%) |
size_with_ext_deps | 54.9 kB | 55.0 kB | +170 B (+0.3%) |
getAdditionalUserInfo
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 45.1 kB | 45.3 kB | +169 B (+0.4%) |
size_with_ext_deps | 55.8 kB | 55.9 kB | +170 B (+0.3%) |
getAuth
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 61.6 kB | 61.8 kB | +169 B (+0.3%) |
size_with_ext_deps | 73.1 kB | 73.2 kB | +170 B (+0.2%) |
getIdToken
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 43.9 kB | 44.1 kB | +169 B (+0.4%) |
size_with_ext_deps | 54.6 kB | 54.7 kB | +170 B (+0.3%) |
getIdTokenResult
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 43.9 kB | 44.0 kB | +169 B (+0.4%) |
size_with_ext_deps | 54.5 kB | 54.7 kB | +170 B (+0.3%) |
getMultiFactorResolver
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 46.8 kB | 46.9 kB | +169 B (+0.4%) |
size_with_ext_deps | 57.4 kB | 57.6 kB | +170 B (+0.3%) |
getRedirectResult
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 49.3 kB | 49.5 kB | +169 B (+0.3%) |
size_with_ext_deps | 60.0 kB | 60.2 kB | +170 B (+0.3%) |
inMemoryPersistence
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 43.9 kB | 44.0 kB | +169 B (+0.4%) |
size_with_ext_deps | 54.5 kB | 54.7 kB | +170 B (+0.3%) |
indexedDBLocalPersistence
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 46.9 kB | 47.1 kB | +169 B (+0.4%) |
size_with_ext_deps | 57.6 kB | 57.8 kB | +170 B (+0.3%) |
initializeAuth
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 44.2 kB | 44.3 kB | +169 B (+0.4%) |
size_with_ext_deps | 55.5 kB | 55.6 kB | +170 B (+0.3%) |
isSignInWithEmailLink
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 45.0 kB | 45.1 kB | +169 B (+0.4%) |
size_with_ext_deps | 55.6 kB | 55.8 kB | +170 B (+0.3%) |
linkWithCredential
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 44.9 kB | 45.1 kB | +169 B (+0.4%) |
size_with_ext_deps | 55.6 kB | 55.7 kB | +170 B (+0.3%) |
linkWithPhoneNumber
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 48.4 kB | 48.6 kB | +169 B (+0.3%) |
size_with_ext_deps | 59.1 kB | 59.3 kB | +170 B (+0.3%) |
linkWithPopup
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 52.4 kB | 52.6 kB | +169 B (+0.3%) |
size_with_ext_deps | 63.1 kB | 63.2 kB | +170 B (+0.3%) |
linkWithRedirect
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 47.4 kB | 47.6 kB | +169 B (+0.4%) |
size_with_ext_deps | 58.1 kB | 58.3 kB | +170 B (+0.3%) |
multiFactor
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 46.0 kB | 46.1 kB | +169 B (+0.4%) |
size_with_ext_deps | 56.6 kB | 56.8 kB | +170 B (+0.3%) |
onAuthStateChanged
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 43.9 kB | 44.1 kB | +169 B (+0.4%) |
size_with_ext_deps | 54.6 kB | 54.7 kB | +170 B (+0.3%) |
onIdTokenChanged
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 43.9 kB | 44.1 kB | +169 B (+0.4%) |
size_with_ext_deps | 54.6 kB | 54.7 kB | +170 B (+0.3%) |
parseActionCodeURL
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 44.9 kB | 45.1 kB | +169 B (+0.4%) |
size_with_ext_deps | 55.5 kB | 55.7 kB | +170 B (+0.3%) |
reauthenticateWithCredential
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 45.5 kB | 45.7 kB | +169 B (+0.4%) |
size_with_ext_deps | 56.2 kB | 56.4 kB | +170 B (+0.3%) |
reauthenticateWithPhoneNumber
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 49.0 kB | 49.2 kB | +169 B (+0.3%) |
size_with_ext_deps | 59.7 kB | 59.9 kB | +170 B (+0.3%) |
reauthenticateWithPopup
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 52.4 kB | 52.6 kB | +169 B (+0.3%) |
size_with_ext_deps | 63.1 kB | 63.2 kB | +170 B (+0.3%) |
reauthenticateWithRedirect
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 47.2 kB | 47.3 kB | +169 B (+0.4%) |
size_with_ext_deps | 57.8 kB | 58.0 kB | +170 B (+0.3%) |
reload
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 43.9 kB | 44.0 kB | +169 B (+0.4%) |
size_with_ext_deps | 54.5 kB | 54.7 kB | +170 B (+0.3%) |
sendEmailVerification
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 44.5 kB | 44.6 kB | +169 B (+0.4%) |
size_with_ext_deps | 55.1 kB | 55.3 kB | +170 B (+0.3%) |
sendPasswordResetEmail
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 44.4 kB | 44.6 kB | +169 B (+0.4%) |
size_with_ext_deps | 55.0 kB | 55.2 kB | +170 B (+0.3%) |
sendSignInLinkToEmail
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 44.4 kB | 44.6 kB | +169 B (+0.4%) |
size_with_ext_deps | 55.0 kB | 55.2 kB | +170 B (+0.3%) |
setPersistence
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 43.9 kB | 44.1 kB | +169 B (+0.4%) |
size_with_ext_deps | 54.6 kB | 54.7 kB | +170 B (+0.3%) |
signInAnonymously
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 45.0 kB | 45.2 kB | +169 B (+0.4%) |
size_with_ext_deps | 55.7 kB | 55.8 kB | +170 B (+0.3%) |
signInWithCredential
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 45.2 kB | 45.4 kB | +169 B (+0.4%) |
size_with_ext_deps | 55.9 kB | 56.1 kB | +170 B (+0.3%) |
signInWithCustomToken
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 44.9 kB | 45.0 kB | +169 B (+0.4%) |
size_with_ext_deps | 55.5 kB | 55.7 kB | +170 B (+0.3%) |
signInWithEmailAndPassword
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 48.7 kB | 48.8 kB | +169 B (+0.3%) |
size_with_ext_deps | 59.3 kB | 59.5 kB | +170 B (+0.3%) |
signInWithEmailLink
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 48.9 kB | 49.0 kB | +169 B (+0.3%) |
size_with_ext_deps | 59.5 kB | 59.7 kB | +170 B (+0.3%) |
signInWithPhoneNumber
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 48.7 kB | 48.9 kB | +169 B (+0.3%) |
size_with_ext_deps | 59.4 kB | 59.6 kB | +170 B (+0.3%) |
signInWithPopup
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 52.4 kB | 52.5 kB | +169 B (+0.3%) |
size_with_ext_deps | 63.1 kB | 63.2 kB | +170 B (+0.3%) |
signInWithRedirect
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 46.9 kB | 47.1 kB | +169 B (+0.4%) |
size_with_ext_deps | 57.6 kB | 57.7 kB | +170 B (+0.3%) |
signOut
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 43.9 kB | 44.1 kB | +169 B (+0.4%) |
size_with_ext_deps | 54.5 kB | 54.7 kB | +170 B (+0.3%) |
unlink
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 44.5 kB | 44.6 kB | +169 B (+0.4%) |
size_with_ext_deps | 55.1 kB | 55.3 kB | +170 B (+0.3%) |
updateCurrentUser
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 43.9 kB | 44.1 kB | +169 B (+0.4%) |
size_with_ext_deps | 54.6 kB | 54.7 kB | +170 B (+0.3%) |
updateEmail
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 44.2 kB | 44.3 kB | +169 B (+0.4%) |
size_with_ext_deps | 54.8 kB | 55.0 kB | +170 B (+0.3%) |
updatePassword
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 44.2 kB | 44.3 kB | +169 B (+0.4%) |
size_with_ext_deps | 54.8 kB | 55.0 kB | +170 B (+0.3%) |
updatePhoneNumber
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 44.6 kB | 44.8 kB | +169 B (+0.4%) |
size_with_ext_deps | 55.3 kB | 55.4 kB | +170 B (+0.3%) |
updateProfile
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 44.4 kB | 44.5 kB | +169 B (+0.4%) |
size_with_ext_deps | 55.0 kB | 55.2 kB | +170 B (+0.3%) |
useDeviceLanguage
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 43.9 kB | 44.1 kB | +169 B (+0.4%) |
size_with_ext_deps | 54.6 kB | 54.7 kB | +170 B (+0.3%) |
verifyBeforeUpdateEmail
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 44.5 kB | 44.7 kB | +169 B (+0.4%) |
size_with_ext_deps | 55.1 kB | 55.3 kB | +170 B (+0.3%) |
verifyPasswordResetCode
Size
Type | Base (916770f) | Head (a6d0d78) | Diff |
---|---|---|---|
size | 45.1 kB | 45.2 kB | +169 B (+0.4%) |
size_with_ext_deps | 55.7 kB | 55.9 kB | +170 B (+0.3%) |
@firebase/functions-exp
-
useFunctionsEmulator
Size
Type Base (916770f) Head (a6d0d78) Diff size 1.96 kB 1.99 kB +23 B (+1.2%) size_with_ext_deps 5.82 kB 5.84 kB +23 B (+0.4%)
Test Logs
- Base (
916770f3
): https://github.com/firebase/firebase-js-sdk/actions/runs/305377233 - Head (
a6d0d78d
): https://github.com/firebase/firebase-js-sdk/actions/runs/307472422
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like a lot of the methods don't have @returns
, even when something is returned (like a Promise<void>
. Is that intentional?
readonly phoneNumber?: string; | ||
/** | ||
* The tenant ID being used for sign-in/linking. If you use `signInWithRedirect` to sign in, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can signInWithRedirect be a link or does that have to wait for the other documentation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll try to add it once I make a pass over the auth-exp files
Co-authored-by: Sam Horlbeck Olsen <[email protected]>
Co-authored-by: Sam Horlbeck Olsen <[email protected]>
Co-authored-by: Sam Horlbeck Olsen <[email protected]>
Co-authored-by: Sam Horlbeck Olsen <[email protected]>
Co-authored-by: Sam Horlbeck Olsen <[email protected]>
Co-authored-by: Sam Horlbeck Olsen <[email protected]>
Co-authored-by: Sam Horlbeck Olsen <[email protected]>
Co-authored-by: Sam Horlbeck Olsen <[email protected]>
Co-authored-by: Sam Horlbeck Olsen <[email protected]>
Co-authored-by: Sam Horlbeck Olsen <[email protected]>
Co-authored-by: Sam Horlbeck Olsen <[email protected]>
Co-authored-by: Sam Horlbeck Olsen <[email protected]>
Co-authored-by: Sam Horlbeck Olsen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gave you some nits, and have a question: should the @example blocks have a language declaration?
In the old version of index.d.ts we used ```javascript on the line directly following @example and before the actual sample code.
I think that may get us prettyprint in some contexts, or is potentially useful in other ways. hsubox76 probably knows :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG from a docs perspective, thanks!
This is just the types in auth-types-exp, I will send a followup PR for everything in auth-exp