Kotlin: Create a signed URL

Examples

Create Signed URL

val bucket = supabase.storage["avatars"]
val url = bucket.createSignedUrl(path = "icon.png", expiresIn = 3.minutes)

Create Signed URL with transformation

val bucket = supabase.storage["avatars"]
val url = bucket.createSignedUrl(path = "icon.png", expiresIn = 3.minutes) \{
    size(100, 100)
    fill()
    quality = 80
\}