replicate / replicate-swift

Swift client for Replicate
https://replicate.com
Apache License 2.0
157 stars 33 forks source link

Use Bearer authorization scheme #80

Closed mattt closed 4 months ago

mattt commented 4 months ago

Replicate's API now supports the standard Bearer authentication scheme.

https://replicate.com/changelog/2024-04-03-bearer-tokens

For compatibility with existing clients, the existing Token scheme will be supported indefinitely. But going forward, the new Bearer scheme is preferred.