-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
02dfc3a
commit 7ef1362
Showing
51 changed files
with
84 additions
and
70 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
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
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
2 changes: 1 addition & 1 deletion
2
Tests/AuthTests/__Snapshots__/RequestsTests/testDeleteUser.1.txt
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
curl \ | ||
--request DELETE \ | ||
--header "Apikey: dummy.api.key" \ | ||
--header "Content-Type: application/json" \ | ||
--header "X-Client-Info: gotrue-swift/x.y.z" \ | ||
--header "X-Supabase-Api-Version: 2024-01-01" \ | ||
--header "apiKey: dummy.api.key" \ | ||
--data "{\"should_soft_delete\":false}" \ | ||
"http://localhost:54321/auth/v1/admin/users/E621E1F8-C36C-495A-93FC-0C247A3E6E5F" |
2 changes: 1 addition & 1 deletion
2
Tests/AuthTests/__Snapshots__/RequestsTests/testGetLinkIdentityURL.1.txt
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
curl \ | ||
--header "Apikey: dummy.api.key" \ | ||
--header "Authorization: Bearer accesstoken" \ | ||
--header "X-Client-Info: gotrue-swift/x.y.z" \ | ||
--header "X-Supabase-Api-Version: 2024-01-01" \ | ||
--header "apiKey: dummy.api.key" \ | ||
"http://localhost:54321/auth/v1/user/identities/authorize?extra_key=extra_value&provider=github&redirect_to=https://supabase.com&scopes=user:email&skip_http_redirect=true" |
2 changes: 1 addition & 1 deletion
2
Tests/AuthTests/__Snapshots__/RequestsTests/testMFAChallenge.1.txt
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
curl \ | ||
--request POST \ | ||
--header "Apikey: dummy.api.key" \ | ||
--header "Authorization: Bearer accesstoken" \ | ||
--header "X-Client-Info: gotrue-swift/x.y.z" \ | ||
--header "X-Supabase-Api-Version: 2024-01-01" \ | ||
--header "apiKey: dummy.api.key" \ | ||
"http://localhost:54321/auth/v1/factors/123/challenge" |
2 changes: 1 addition & 1 deletion
2
Tests/AuthTests/__Snapshots__/RequestsTests/testMFAChallengePhone.1.txt
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
curl \ | ||
--request POST \ | ||
--header "Apikey: dummy.api.key" \ | ||
--header "Authorization: Bearer accesstoken" \ | ||
--header "Content-Type: application/json" \ | ||
--header "X-Client-Info: gotrue-swift/x.y.z" \ | ||
--header "X-Supabase-Api-Version: 2024-01-01" \ | ||
--header "apiKey: dummy.api.key" \ | ||
--data "{\"channel\":\"whatsapp\"}" \ | ||
"http://localhost:54321/auth/v1/factors/123/challenge" |
2 changes: 1 addition & 1 deletion
2
Tests/AuthTests/__Snapshots__/RequestsTests/testMFAEnrollLegacy.1.txt
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
curl \ | ||
--request POST \ | ||
--header "Apikey: dummy.api.key" \ | ||
--header "Authorization: Bearer accesstoken" \ | ||
--header "Content-Type: application/json" \ | ||
--header "X-Client-Info: gotrue-swift/x.y.z" \ | ||
--header "X-Supabase-Api-Version: 2024-01-01" \ | ||
--header "apiKey: dummy.api.key" \ | ||
--data "{\"factor_type\":\"totp\",\"friendly_name\":\"test\",\"issuer\":\"supabase.com\"}" \ | ||
"http://localhost:54321/auth/v1/factors" |
2 changes: 1 addition & 1 deletion
2
Tests/AuthTests/__Snapshots__/RequestsTests/testMFAEnrollPhone.1.txt
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
curl \ | ||
--request POST \ | ||
--header "Apikey: dummy.api.key" \ | ||
--header "Authorization: Bearer accesstoken" \ | ||
--header "Content-Type: application/json" \ | ||
--header "X-Client-Info: gotrue-swift/x.y.z" \ | ||
--header "X-Supabase-Api-Version: 2024-01-01" \ | ||
--header "apiKey: dummy.api.key" \ | ||
--data "{\"factor_type\":\"phone\",\"friendly_name\":\"test\",\"phone\":\"+1 202-918-2132\"}" \ | ||
"http://localhost:54321/auth/v1/factors" |
2 changes: 1 addition & 1 deletion
2
Tests/AuthTests/__Snapshots__/RequestsTests/testMFAEnrollTotp.1.txt
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
curl \ | ||
--request POST \ | ||
--header "Apikey: dummy.api.key" \ | ||
--header "Authorization: Bearer accesstoken" \ | ||
--header "Content-Type: application/json" \ | ||
--header "X-Client-Info: gotrue-swift/x.y.z" \ | ||
--header "X-Supabase-Api-Version: 2024-01-01" \ | ||
--header "apiKey: dummy.api.key" \ | ||
--data "{\"factor_type\":\"totp\",\"friendly_name\":\"test\",\"issuer\":\"supabase.com\"}" \ | ||
"http://localhost:54321/auth/v1/factors" |
2 changes: 1 addition & 1 deletion
2
Tests/AuthTests/__Snapshots__/RequestsTests/testMFAUnenroll.1.txt
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
curl \ | ||
--request DELETE \ | ||
--header "Apikey: dummy.api.key" \ | ||
--header "Authorization: Bearer accesstoken" \ | ||
--header "X-Client-Info: gotrue-swift/x.y.z" \ | ||
--header "X-Supabase-Api-Version: 2024-01-01" \ | ||
--header "apiKey: dummy.api.key" \ | ||
"http://localhost:54321/auth/v1/factors/123" |
2 changes: 1 addition & 1 deletion
2
Tests/AuthTests/__Snapshots__/RequestsTests/testMFAVerify.1.txt
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
curl \ | ||
--request POST \ | ||
--header "Apikey: dummy.api.key" \ | ||
--header "Authorization: Bearer accesstoken" \ | ||
--header "Content-Type: application/json" \ | ||
--header "X-Client-Info: gotrue-swift/x.y.z" \ | ||
--header "X-Supabase-Api-Version: 2024-01-01" \ | ||
--header "apiKey: dummy.api.key" \ | ||
--data "{\"challenge_id\":\"123\",\"code\":\"123456\",\"factor_id\":\"123\"}" \ | ||
"http://localhost:54321/auth/v1/factors/123/verify" |
2 changes: 1 addition & 1 deletion
2
Tests/AuthTests/__Snapshots__/RequestsTests/testReauthenticate.1.txt
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
curl \ | ||
--header "Apikey: dummy.api.key" \ | ||
--header "Authorization: Bearer accesstoken" \ | ||
--header "X-Client-Info: gotrue-swift/x.y.z" \ | ||
--header "X-Supabase-Api-Version: 2024-01-01" \ | ||
--header "apiKey: dummy.api.key" \ | ||
"http://localhost:54321/auth/v1/reauthenticate" |
2 changes: 1 addition & 1 deletion
2
Tests/AuthTests/__Snapshots__/RequestsTests/testRefreshSession.1.txt
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
curl \ | ||
--request POST \ | ||
--header "Apikey: dummy.api.key" \ | ||
--header "Content-Type: application/json" \ | ||
--header "X-Client-Info: gotrue-swift/x.y.z" \ | ||
--header "X-Supabase-Api-Version: 2024-01-01" \ | ||
--header "apiKey: dummy.api.key" \ | ||
--data "{\"refresh_token\":\"refresh-token\"}" \ | ||
"http://localhost:54321/auth/v1/token?grant_type=refresh_token" |
2 changes: 1 addition & 1 deletion
2
Tests/AuthTests/__Snapshots__/RequestsTests/testResendEmail.1.txt
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
curl \ | ||
--request POST \ | ||
--header "Apikey: dummy.api.key" \ | ||
--header "Content-Type: application/json" \ | ||
--header "X-Client-Info: gotrue-swift/x.y.z" \ | ||
--header "X-Supabase-Api-Version: 2024-01-01" \ | ||
--header "apiKey: dummy.api.key" \ | ||
--data "{\"email\":\"[email protected]\",\"gotrue_meta_security\":{\"captcha_token\":\"captcha-token\"},\"type\":\"email_change\"}" \ | ||
"http://localhost:54321/auth/v1/resend?redirect_to=https://supabase.com" |
2 changes: 1 addition & 1 deletion
2
Tests/AuthTests/__Snapshots__/RequestsTests/testResendPhone.1.txt
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
curl \ | ||
--request POST \ | ||
--header "Apikey: dummy.api.key" \ | ||
--header "Content-Type: application/json" \ | ||
--header "X-Client-Info: gotrue-swift/x.y.z" \ | ||
--header "X-Supabase-Api-Version: 2024-01-01" \ | ||
--header "apiKey: dummy.api.key" \ | ||
--data "{\"gotrue_meta_security\":{\"captcha_token\":\"captcha-token\"},\"phone\":\"+1 202-918-2132\",\"type\":\"phone_change\"}" \ | ||
"http://localhost:54321/auth/v1/resend" |
2 changes: 1 addition & 1 deletion
2
Tests/AuthTests/__Snapshots__/RequestsTests/testResetPasswordForEmail.1.txt
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
curl \ | ||
--request POST \ | ||
--header "Apikey: dummy.api.key" \ | ||
--header "Content-Type: application/json" \ | ||
--header "X-Client-Info: gotrue-swift/x.y.z" \ | ||
--header "X-Supabase-Api-Version: 2024-01-01" \ | ||
--header "apiKey: dummy.api.key" \ | ||
--data "{\"email\":\"[email protected]\",\"gotrue_meta_security\":{\"captcha_token\":\"captcha-token\"}}" \ | ||
"http://localhost:54321/auth/v1/recover?redirect_to=https://supabase.com" |
2 changes: 1 addition & 1 deletion
2
Tests/AuthTests/__Snapshots__/RequestsTests/testSessionFromURL.1.txt
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
curl \ | ||
--header "Apikey: dummy.api.key" \ | ||
--header "Authorization: bearer accesstoken" \ | ||
--header "X-Client-Info: gotrue-swift/x.y.z" \ | ||
--header "X-Supabase-Api-Version: 2024-01-01" \ | ||
--header "apiKey: dummy.api.key" \ | ||
"http://localhost:54321/auth/v1/user" |
2 changes: 1 addition & 1 deletion
2
Tests/AuthTests/__Snapshots__/RequestsTests/testSetSessionWithAExpiredToken.1.txt
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
curl \ | ||
--request POST \ | ||
--header "Apikey: dummy.api.key" \ | ||
--header "Content-Type: application/json" \ | ||
--header "X-Client-Info: gotrue-swift/x.y.z" \ | ||
--header "X-Supabase-Api-Version: 2024-01-01" \ | ||
--header "apiKey: dummy.api.key" \ | ||
--data "{\"refresh_token\":\"dummy-refresh-token\"}" \ | ||
"http://localhost:54321/auth/v1/token?grant_type=refresh_token" |
2 changes: 1 addition & 1 deletion
2
Tests/AuthTests/__Snapshots__/RequestsTests/testSetSessionWithAFutureExpirationDate.1.txt
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
curl \ | ||
--header "Apikey: dummy.api.key" \ | ||
--header "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJhdXRoZW50aWNhdGVkIiwiZXhwIjo0ODUyMTYzNTkzLCJzdWIiOiJmMzNkM2VjOS1hMmVlLTQ3YzQtODBlMS01YmQ5MTlmM2Q4YjgiLCJlbWFpbCI6ImhpQGJpbmFyeXNjcmFwaW5nLmNvIiwicGhvbmUiOiIiLCJhcHBfbWV0YWRhdGEiOnsicHJvdmlkZXIiOiJlbWFpbCIsInByb3ZpZGVycyI6WyJlbWFpbCJdfSwidXNlcl9tZXRhZGF0YSI6e30sInJvbGUiOiJhdXRoZW50aWNhdGVkIn0.UiEhoahP9GNrBKw_OHBWyqYudtoIlZGkrjs7Qa8hU7I" \ | ||
--header "X-Client-Info: gotrue-swift/x.y.z" \ | ||
--header "X-Supabase-Api-Version: 2024-01-01" \ | ||
--header "apiKey: dummy.api.key" \ | ||
"http://localhost:54321/auth/v1/user" |
2 changes: 1 addition & 1 deletion
2
Tests/AuthTests/__Snapshots__/RequestsTests/testSignInAnonymously.1.txt
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
curl \ | ||
--request POST \ | ||
--header "Apikey: dummy.api.key" \ | ||
--header "Content-Type: application/json" \ | ||
--header "X-Client-Info: gotrue-swift/x.y.z" \ | ||
--header "X-Supabase-Api-Version: 2024-01-01" \ | ||
--header "apiKey: dummy.api.key" \ | ||
--data "{\"data\":{\"custom_key\":\"custom_value\"},\"gotrue_meta_security\":{\"captcha_token\":\"captcha-token\"}}" \ | ||
"http://localhost:54321/auth/v1/signup" |
Oops, something went wrong.