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K4jSOTAWxmj1L_URfgAWhZ9If8VWMm3ERPxGZdjb_P32xYL_wfIMK3SqNQlBMsg9dUFFM2O-i2PuciJ9IvZnPCWCM3nr5t202TYFrq5VueQOeZ_WW-R2wl_uxh4kFBjf3fD0Q_4Oy5kmDvZSMQRYWPJFIRAUEHCTpHWIuuWoRp4dLrzM2n6c75Bk0jR4Kr6WDOj03AAvllCn_-UT6JXsrfBEI8QP-qfboq0_ZqdT17rtwjFc9CvoZUHeIYjp_BOTNDFBuSpqv8qwGmTQOmMAVfjyzEpI_7M7x",
"expires_in": 43199,
"scope": "scim.emails.read scim.me openid password.write approvals.me scim.ids.read oauth.approvals",
"jti": "17a4d9f5-15a2-4776-b853-3e31d0c2b90i"
}
File
tests/modules/apigee_mock_api_client/tests/response-templates/access-token.json.twig
View source
- {
- "access_token": "yeJhbGciOiJSUzI1NiJ9.eyJqdGkiOiIxNWE0ZDlmNS0xNWEyLTQ3NzYtYjg1My0zZTMxZDBjMmI5MGYiLCJzdWIiOiJmMjgzZGZlOC1mMDJhLTRkNmEtYWMyZC0zMGI1ZDQ5ZGZmNjEiLCJzY29wZSI6WyJzY2ltLmVtYWlscy5yZWFkIiwic2NpbS5tZSIsIm9wZW5pZCIsInBhc3N3b3JkLndyaXRlIiwiYXBwcm92YWxzLm1lIiwic2NpbS5pZHMucmVhZCIsIm9hdXRoLmFwcHJvdmFscyJdLCJjbGllbnRfaWQiOiJlZGdlY2xpIiwiY2lkIjoiZWRnZWNsaSIsImF6cCI6ImVkZ2VjbGkiLCJncmFudF90eXBlIjoicGFzc3dvcmQiLCJ1c2VyX2lkIjoiZjI4M2RmZTgtZjAyYS00ZDZhLWFjMmQtMzBiNWQ0OWRmZjYxIiwib3JpZ2luIjoidXNlcmdyaWQiLCJ1c2VyX25hbWUiOiJhcmxpbmEuZXNwaW5vemFAZ21haWwuY29tIiwiZW1haWwiOiJhcmxpbmEuZXNwaW5vemFAZ21haWwuY29tIiwiYXV0aF90aW1lIjoxNTg1Nz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VlLmNvbSIsInppZCI6InVhYSIsImdyYW50X3R5cGUiOiJwYXNzd29yZCIsInVzZXJfbmFtZSI6ImFybGluYS5lc3Bpbm96YUBnbWFpbC5jb20iLCJvcmlnaW4iOiJ1c2VyZ3JpZCIsInVzZXJfaWQiOiJmMjgzZGZlOC1mMDJhLTRkNmEtYWMyZC0zMGI1ZDQ5ZGZmNjEiLCJhbCI6MCwicmV2X3NpZyI6Ijg5ZWU3YzFlIiwiYXVkIjpbImVkZ2VjbGkiLCJzY2ltLmVtYWlscyIsInNjaW0iLCJvcGVuaWQiLCJwYXNzd29yZCIsImFwcHJvdmFscyIsInNjaW0uaWRzIiwib2F1dGgiXX0.Jee1t2nIM8tuBPsJ41fGrIYzXnU0KLncI7oQsUbu3xirRjcvkTHq_K4jSOTAWxmj1L_URfgAWhZ9If8VWMm3ERPxGZdjb_P32xYL_wfIMK3SqNQlBMsg9dUFFM2O-i2PuciJ9IvZnPCWCM3nr5t202TYFrq5VueQOeZ_WW-R2wl_uxh4kFBjf3fD0Q_4Oy5kmDvZSMQRYWPJFIRAUEHCTpHWIuuWoRp4dLrzM2n6c75Bk0jR4Kr6WDOj03AAvllCn_-UT6JXsrfBEI8QP-qfboq0_ZqdT17rtwjFc9CvoZUHeIYjp_BOTNDFBuSpqv8qwGmTQOmMAVfjyzEpI_7M7x",
- "expires_in": 43199,
- "scope": "scim.emails.read scim.me openid password.write approvals.me scim.ids.read oauth.approvals",
- "jti": "17a4d9f5-15a2-4776-b853-3e31d0c2b90i"
- }