-
Notifications
You must be signed in to change notification settings - Fork 144
feat(auth): Implemented GeneratePasswordResetLinkAsync() API #162
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
lahirumaramba
left a comment
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.
LGTM!
|
@egilmorez please review the API docs in |
| /// </summary> | ||
| /// <exception cref="FirebaseAuthException">If an error occurs while setting custom claims.</exception> | ||
| /// <param name="email">The email of the user whose password is to be reset.</param> | ||
| /// <param name="settings">The action code settings object which defines whether |
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 think this technically should be "that" -- you're referring to a particular object that has these attributes, and not just adding information about the object.
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.
Done
| /// <param name="email">The email of the user whose password is to be reset.</param> | ||
| /// <param name="settings">The action code settings object which defines whether | ||
| /// the link is to be handled by a mobile app and the additional state information to be | ||
| /// passed in the deep link..</param> |
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.
Extra period here.
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.
Done
| /// </summary> | ||
| /// <exception cref="FirebaseAuthException">If an error occurs while setting custom claims.</exception> | ||
| /// <param name="email">The email of the user whose password is to be reset.</param> | ||
| /// <param name="settings">The action code settings object which defines whether |
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.
Suggest "that," as above.
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.
Done
| /// <param name="email">The email of the user whose password is to be reset.</param> | ||
| /// <param name="settings">The action code settings object which defines whether | ||
| /// the link is to be handled by a mobile app and the additional state information to be | ||
| /// passed in the deep link..</param> |
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.
Extra period.
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.
Done
| /// <summary> | ||
| /// Gets or sets a value indicating whether to open the link via a mobile app or a browser. | ||
| /// The default is false. When set to true, the action code link is sent as a Universal | ||
| /// Link or an Android App Link and is opened by the app if installed. In the false case, |
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.
Is any of this relevant when the app isn't installed? I wonder if we need this phrase.
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 think those are orthogonal issues. If the app isn't installed, you will still get a dynamic link that will offer to install the app.
| public string AndroidPackageName { get; set; } | ||
|
|
||
| /// <summary> | ||
| /// Gets or sets the minimum version for Android app. If the installed app is an older |
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.
Suggest "an Android app," or "the" if we mean the specific one being targeted.
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.
Done
egilmorez
left a comment
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.
A few things to check, thanks!!
egilmorez
left a comment
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.
Thanks!
API for email action link generation. API proposal go/firebase-dotnet-mt
RELEASE NOTE: Added
GeneratePasswordResetLinkAsync()method for generating links for password reset flows.