-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Port changes for SignInWithSSO from the js library to the csharp one * Update readme
- Loading branch information
Showing
8 changed files
with
173 additions
and
32 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
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,16 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Supabase.Gotrue | ||
{ | ||
/// <summary> | ||
/// Options used for signing in a user using single sign on (SSO). | ||
/// </summary> | ||
public class SignInOptionsWithSsoOptions : SignInOptions | ||
{ | ||
/// <summary> | ||
/// Verification token received when the user completes the captcha on the site. | ||
/// </summary> | ||
[JsonProperty("captchaToken")] | ||
public string? CaptchaToken { 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
|
||
namespace Supabase.Gotrue | ||
{ | ||
/// <summary> | ||
/// Single sign on (SSO) response data deserialized from the API {supabaseAuthUrl}/sso | ||
/// </summary> | ||
public class SsoResponse : ProviderAuthState | ||
{ | ||
/// <summary> | ||
/// Deserialized response from {supabaseAuthUrl}/sso | ||
/// </summary> | ||
/// <param name="uri">Uri from the response, this will open the SSO providers login page and allow a user to login to their provider</param> | ||
public SsoResponse(Uri uri) : base(uri) { } | ||
} | ||
} |
Oops, something went wrong.