Create signed url to download file without requiring permissions. This URL can be valid for a set number of seconds.
buckets
permissions: noneobjects
permissions: select
The file path, including the file name. For example folder/image.png.
The number of seconds until the signed URL expires. For example, 60 for a URL which is valid for one minute.
Transform the asset before serving it to the client.
final String signedUrl = await supabase
.storage
.from('avatars')
.createSignedUrl('avatar1.png', 60);
final String signedUrl = await supabase
.storage
.from('avatars')
.createSignedUrl(
'avatar1.png',
60,
transform: TransformOptions(
width: 200,
height: 200,
),
);