diff --git a/modules.html b/modules.html index 1896a94c..f0b212ea 100644 --- a/modules.html +++ b/modules.html @@ -1,4 +1,4 @@ -
Create a signature for a Google Maps request URL or url string.
const signature = createSignature("https://example.com/some-path?foo=bar", "secret");
The secret to use for signing.
The signature of the signed url.
Create a signature for a path and query string using HmacSHA1.
const signature = createSignatureForPathAndQuery("/some-path?foo=bar", "secret");
Returns a new URL having a signature parameter.
const signedUrl = signUrl("https://example.com/some-path?foo=bar", "secret");signedUrl.href; // "https://example.com/some-path?foo=bar&signature=..."
- Preparing search index...
- The search index is not available
@googlemaps/url-signature@googlemaps/url-signature
Index
Functions
Functions
create Signature
Create a signature for a Google Maps request URL or url string.
secret: string
The secret to use for signing.
Returns string
The signature of the signed url.
-create Signature For Path And Query
create Signature For Path And Query
Create a signature for a path and query string using HmacSHA1.
Parameters
pathAndQuery: string
secret: string
The secret to use for signing.
Returns string
The signature of the signed url.
-sign Url
sign Url
Returns a new URL having a signature parameter.