Public
emilo avatar
emilo
blob_admin
HTTP
Forked from stevekrouse/blob_admin
0
milesfalk avatar
milesfalk
serveAudio
HTTP
An interactive, runnable TypeScript val by milesfalk
0
o_sv avatar
o_sv
bioFeeler
HTTP
@jsxImportSource https://esm.sh/react
0
stevekrouse avatar
stevekrouse
easyAQI_cached
Script
Forked from stevekrouse/easyAQI
0
janpaul123 avatar
janpaul123
indexValsNeon
Cron
Forked from janpaul123/indexValsBlobs
0
rozek avatar
rozek
Authorization_from_Blob_Test
HTTP
Here are some tests for val Authorization_from_Blob Test Cases Here are the rewritten test cases to fit the generated code that uses Blob storage instead of environment variables: Positive Test Cases Valid token with defined Blob BlobName: "VALID_TOKEN" Blob value: "secret123" Authorization header: "Bearer secret123" Mode: "forbid-if-not-defined" Expected result: true Valid token with allow-if-not-defined mode BlobName: "VALID_TOKEN" Blob value: "secret123" Authorization header: "Bearer secret123" Mode: "allow-if-not-defined" Expected result: true Valid token with missing mode (default behavior) BlobName: "VALID_TOKEN" Blob value: "secret123" Authorization header: "Bearer secret123" Mode: undefined Expected result: true Negative Test Cases Invalid token BlobName: "VALID_TOKEN" Blob value: "secret123" Authorization header: "Bearer wrongtoken" Mode: "forbid-if-not-defined" Expected result: false No Authorization header BlobName: "VALID_TOKEN" Blob value: "secret123" Authorization header: undefined Mode: "forbid-if-not-defined" Expected result: false Blob not defined, forbid mode BlobName: "UNDEFINED_TOKEN" Blob value: undefined Authorization header: "Bearer anytoken" Mode: "forbid-if-not-defined" Expected result: false Blob not defined, allow mode BlobName: "UNDEFINED_TOKEN" Blob value: undefined Authorization header: "Bearer anytoken" Mode: "allow-if-not-defined" Expected result: true Error Cases Invalid Blob name BlobName: "1INVALID" Blob value: "secret123" Authorization header: "Bearer secret123" Mode: "forbid-if-not-defined" Expected result: Error thrown Invalid Mode BlobName: "VALID_TOKEN" Blob value: "secret123" Authorization header: "Bearer secret123" Mode: "invalid-mode" Expected result: Error thrown Edge Cases Empty string as token BlobName: "EMPTY_TOKEN" Blob value: "" Authorization header: "Bearer " Mode: "forbid-if-not-defined" Expected result: true Case-sensitive token comparison BlobName: "CASE_TOKEN" Blob value: "Secret123" Authorization header: "Bearer secret123" Mode: "forbid-if-not-defined" Expected result: false Non-Bearer authorization type BlobName: "VALID_TOKEN" Blob value: "secret123" Authorization header: "Basic secret123" Mode: "forbid-if-not-defined" Expected result: false
0
maxm avatar
maxm
saveFormDataExample
HTTP
An interactive, runnable TypeScript val by maxm
0
generatecoll avatar
generatecoll
renderFormAndSaveData
HTTP
Forked from andreterron/renderFormAndSaveData
0
tr11 avatar
tr11
blob_admin
HTTP
Forked from stevekrouse/blob_admin
0
pomdtr avatar
pomdtr
popcorn
HTTP
An interactive, runnable TypeScript val by pomdtr
0
pomdtr avatar
pomdtr
blob_admin_blob
Script
Forked from stevekrouse/blob_admin_blob
0
efoley avatar
efoley
segYPlotter
HTTP
@jsxImportSource https://esm.sh/react
0
triptych avatar
triptych
webgen
HTTP
Forked from thesephist/webgen
0
janpaul123 avatar
janpaul123
valle_tmp_557616596483957206351422557248876
HTTP
// This code will create a simple comment box where users can submit a comment using an input field.
0
datadelaurier avatar
datadelaurier
easyAQI
Script
Forked from stevekrouse/easyAQI
0
Shigigami avatar
Shigigami
chatApplication
HTTP
hi
1
Updated: August 13, 2024