{"version":3,"file":"cognitoHostedUIEndpoints.mjs","sources":["../../../../src/auth/utils/cognitoHostedUIEndpoints.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nexport const createAuthorizeEndpoint = (domain, urlSearchParams) => new URL(`https://${domain}/oauth2/authorize?${urlSearchParams.toString()}`).toString();\nexport const createTokenEndpoint = (domain) => new URL(`https://${domain}/oauth2/token`).toString();\nexport const createRevokeEndpoint = (domain) => new URL(`https://${domain}/oauth2/revoke`).toString();\nexport const createSignUpEndpoint = (domain, urlSearchParams) => new URL(`https://${domain}/signup?${urlSearchParams.toString()}`).toString();\nexport const createLogoutEndpoint = (domain, urlSearchParams) => new URL(`https://${domain}/logout?${urlSearchParams.toString()}`).toString();\n"],"names":[],"mappings":"AAAA;AACA;AACY,MAAC,uBAAuB,GAAG,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,GAAG,CAAC,CAAC,QAAQ,EAAE,MAAM,CAAC,kBAAkB,EAAE,eAAe,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ;AAC5I,MAAC,mBAAmB,GAAG,CAAC,MAAM,KAAK,IAAI,GAAG,CAAC,CAAC,QAAQ,EAAE,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,QAAQ;AACrF,MAAC,oBAAoB,GAAG,CAAC,MAAM,KAAK,IAAI,GAAG,CAAC,CAAC,QAAQ,EAAE,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,QAAQ;AACvF,MAAC,oBAAoB,GAAG,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,GAAG,CAAC,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ,EAAE,eAAe,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ;AAC/H,MAAC,oBAAoB,GAAG,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,GAAG,CAAC,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ,EAAE,eAAe,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ;;;;"}