-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
01fad74
commit a688462
Showing
8 changed files
with
158 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
namespace Supabase.Gotrue | ||
{ | ||
/// <summary> | ||
/// A utility class that represents a successful response from a request to send a user's password reset using the PKCE flow. | ||
/// </summary> | ||
public class ResetPasswordForEmailOptions | ||
{ | ||
/// <summary> | ||
/// The Email representing the user's account whose password is being reset. | ||
/// </summary> | ||
public string Email { get; private set; } | ||
|
||
/// <summary> | ||
/// The OAuth Flow Type. | ||
/// </summary> | ||
public Constants.OAuthFlowType FlowType { get; set; } = Constants.OAuthFlowType.Implicit; | ||
|
||
/// <summary> | ||
/// The URL to send the user to after they click the password reset link. | ||
/// </summary> | ||
public string? RedirectTo { get; set; } | ||
|
||
/// <summary> | ||
/// Verification token received when the user completes the captcha on the site. | ||
/// </summary> | ||
public string? CaptchaToken { get; set; } | ||
|
||
/// <summary> | ||
/// PKCE Verifier generated if using the PKCE flow type. | ||
/// </summary> | ||
public string? PKCEVerifier { get; set; } | ||
|
||
public ResetPasswordForEmailOptions(string email) | ||
Check warning on line 33 in Gotrue/ResetPasswordForEmailOptions.cs GitHub Actions / buildAndTest
Check warning on line 33 in Gotrue/ResetPasswordForEmailOptions.cs GitHub Actions / buildAndTest
|
||
{ | ||
Email = email; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
namespace Supabase.Gotrue | ||
{ | ||
/// <summary> | ||
/// A utility class that represents a successful response from a request to send a user's password reset using the PKCE flow. | ||
/// </summary> | ||
public class ResetPasswordForEmailState | ||
{ | ||
/// <summary> | ||
/// PKCE Verifier generated if using the PKCE flow type. | ||
/// </summary> | ||
public string? PKCEVerifier { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters