You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want uploadcare-php to have the same signed URL capabilities as pyuploadcare. Correct me if this is something wrong to do (or already done, or requires to build something else).
Allow to pass a UUID + params when generating signed URL (ACL)
Currently, the AkamaiSecureUrlBuilder class allows for signing a whole URL. In some cases, there's a need to generate a universal ACL token with wildcards. For example, we can specify an ACL as follows:
/{uuid}/*
and the token generated will be applicable to any variation of the file associated with the {uuid}. E.g., https://ucarecdn.com/{uuid}/-/resize/360x/-/format/auto/
I want uploadcare-php to have the same signed URL capabilities as pyuploadcare. Correct me if this is something wrong to do (or already done, or requires to build something else).
Implement generating URL tokens for signed URLs
Currently, the lib allows for generating ACL tokens only. Akamai supports two type of tokens: ACL and URL. See https://github.com/akamai/EdgeAuth-Token-Python/blob/master/akamai/edgeauth/edgeauth.py for reference.
Allow to pass a UUID + params when generating signed URL (ACL)
Currently, the
AkamaiSecureUrlBuilder
class allows for signing a whole URL. In some cases, there's a need to generate a universal ACL token with wildcards. For example, we can specify an ACL as follows:/{uuid}/*
and the token generated will be applicable to any variation of the file associated with the
{uuid}
. E.g.,https://ucarecdn.com/{uuid}/-/resize/360x/-/format/auto/
See https://github.com/akamai/EdgeAuth-Token-Python/blob/master/akamai/edgeauth/edgeauth.py#L183 for reference.
You can use pyuploadcare implementation as a reference:
The text was updated successfully, but these errors were encountered: