This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.AWS.S3.
Summary
Create a signed URL allowing access to a resource that would usually require authentication. cts
Syntax
public static string GetPreSignedURL(this ICakeContext context, string key, DateTime expires, S3Settings settings)
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
| CakeAliasCategoryAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The cake context. |
| key |
string |
The key under which the Amazon S3 object is stored. |
| expires |
DateTime |
The expiry date and time for the pre-signed url. |
| settings |
S3Settings |
The S3Settings required to download from Amazon S3. |
Return Value