moto/moto/cognitoidp/urls.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
300 B
Python
Raw Normal View History

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