moto/moto/cognitoidp/urls.py
2021-10-18 19:44:29 +00:00

9 lines
300 B
Python

from .responses import CognitoIdpResponse, CognitoIdpJsonWebKeyResponse
url_bases = [r"https?://cognito-idp\.(.+)\.amazonaws.com"]
url_paths = {
"{0}/$": CognitoIdpResponse.dispatch,
"{0}/(?P<user_pool_id>[^/]+)/.well-known/jwks.json$": CognitoIdpJsonWebKeyResponse().serve_json_web_key,
}