|
142 | 142 | "private_key": 6 |
143 | 143 | } |
144 | 144 | }, |
| 145 | + { |
| 146 | + "model": "core.eligibilityapiconfig", |
| 147 | + "pk": 1, |
| 148 | + "fields": { |
| 149 | + "api_id": "cst", |
| 150 | + "api_private_key": 2, |
| 151 | + "api_public_key": 3 |
| 152 | + } |
| 153 | + }, |
145 | 154 | { |
146 | 155 | "model": "core.transitagency", |
147 | 156 | "pk": 1, |
|
152 | 161 | "long_name": "California State Transit (local)", |
153 | 162 | "info_url": "https://www.agency-website.com", |
154 | 163 | "phone": "1-800-555-5555", |
155 | | - "eligibility_api_id": "cst", |
156 | | - "eligibility_api_private_key": 2, |
157 | | - "eligibility_api_public_key": 3, |
| 164 | + "eligibility_api_config": 1, |
158 | 165 | "staff_group": 2, |
159 | 166 | "customer_service_group": 2, |
160 | 167 | "logo_large": "agencies/cst-lg.png", |
|
211 | 218 | "pk": 5, |
212 | 219 | "fields": { "group_id": "30027174-bc59-40bb-935c-3bd9b1c26a63" } |
213 | 220 | }, |
| 221 | + { |
| 222 | + "model": "core.eligibilityapiverificationrequest", |
| 223 | + "pk": 1, |
| 224 | + "fields": { |
| 225 | + "label": "agency_card", |
| 226 | + "api_url": "http://server:8000/verify", |
| 227 | + "api_auth_header": "X-Server-API-Key", |
| 228 | + "api_auth_key_secret_name": "agency-card-flow-api-auth-key", |
| 229 | + "api_public_key": 1, |
| 230 | + "api_jwe_cek_enc": "A256CBC-HS512", |
| 231 | + "api_jwe_encryption_alg": "RSA-OAEP", |
| 232 | + "api_jws_signing_alg": "RS256" |
| 233 | + } |
| 234 | + }, |
214 | 235 | { |
215 | 236 | "model": "core.enrollmentflow", |
216 | 237 | "pk": 1, |
|
247 | 268 | "fields": { |
248 | 269 | "system_name": "agency_card", |
249 | 270 | "label": "Agency Cardholder", |
| 271 | + "api_request": 1, |
250 | 272 | "display_order": 4, |
251 | | - "eligibility_api_url": "http://server:8000/verify", |
252 | | - "eligibility_api_auth_header": "X-Server-API-Key", |
253 | | - "eligibility_api_auth_key_secret_name": "agency-card-flow-api-auth-key", |
254 | | - "eligibility_api_public_key": 1, |
255 | | - "eligibility_api_jwe_cek_enc": "A256CBC-HS512", |
256 | | - "eligibility_api_jwe_encryption_alg": "RSA-OAEP", |
257 | | - "eligibility_api_jws_signing_alg": "RS256", |
258 | 273 | "supported_enrollment_methods": ["digital"], |
259 | 274 | "transit_agency": 1 |
260 | 275 | } |
|
0 commit comments