|
253 | 253 | "OAUTH_INBOUND", "OAUTH2.0_TOKEN_VALIDATION", |
254 | 254 | "MULTI_TOKEN_INBOUND", "OAUTH2.0_OR_BASIC_AUTH_VALIDATION", |
255 | 255 | "DIGITAL_SIGNATURE", "HMAC_SIGNATURE_VALIDATION", "RSA_SIGNATURE_VALIDATION", "JWT_VALIDATION","API_KEY_VALIDATION", |
256 | | - "CUSTOM_SINGLE_TOKEN", "API_KEY_AUTHENTICATION", |
| 256 | + "API_KEY_AUTHENTICATION", |
257 | 257 | "OAUTH_AUTHORIZATION_CODE_CREDENTIALS", |
258 | 258 | "OAUTH_CLIENT_CREDENTIALS", |
259 | 259 | "OAUTH_RESOURCE_OWNER_PASSWORD_CREDENTIALS", |
260 | 260 | "OCI_SIGNATURE_VERSION1", |
261 | 261 | "OAUTH_ONE_TOKEN_BASED", "OAUTH1.0A_ONE_LEGGED_TOKEN_AUTHENTICATION", |
262 | | - "ADD_OAUTH_AUTHORIZATION_CODE_CREDENTIALS", "OAUTH2.0_AUTHORIZATION_CODE_CREDENTIALS", |
263 | | - "ADD_OAUTH_CLIENT_CREDENTIALS", "OAUTH2.0_CLIENT_CREDENTIALS", |
264 | | - "ADD_OAUTH_RESOURCE_OWNER_PASSWORD_CREDENTIALS", "OAUTH2.0_RESOURCE_OWNER_PASSWORD_CREDENTIALS", |
265 | 262 | "AWS_SIGNATURE_VERSION4","CAREAWARE_MILLENNIUM_OAUTH_USER_FLOW","CAREAWARE_MILLENNIUM_OAUTH_SYSTEM_FLOW", |
266 | 263 | "JWT_CLIENT_CREDENTIALS_ASSERTION_FOR_OAUTH","JWT_USER_ASSERTION_FOR_OAUTH","OCI_SERVICE_INVOCATION" |
267 | 264 | ] |
|
425 | 422 | "properties": { |
426 | 423 | "policy": { |
427 | 424 | "oneOf": [ |
428 | | - { "const": "CUSTOM_SINGLE_TOKEN" }, |
429 | 425 | { "const": "API_KEY_AUTHENTICATION" } |
430 | 426 | ] |
431 | 427 | } |
|
523 | 519 | } |
524 | 520 | } |
525 | 521 | }, |
526 | | - { |
527 | | - "if": { |
528 | | - "properties": { |
529 | | - "policy": { |
530 | | - "oneOf": [ |
531 | | - { "const": "OAUTH2.0_AUTHORIZATION_CODE_CREDENTIALS" } |
532 | | - ] |
533 | | - } |
534 | | - } |
535 | | - }, |
536 | | - "then": { |
537 | | - "properties": { |
538 | | - "securityProperties": { |
539 | | - "$ref": "#/definitions/OAuth2.0AuthorizationSecurityProperties_type" |
540 | | - } |
541 | | - } |
542 | | - } |
543 | | - }, |
544 | | - { |
545 | | - "if": { |
546 | | - "properties": { |
547 | | - "policy": { |
548 | | - "oneOf": [ |
549 | | - |
550 | | - { "const": "OAUTH2.0_CLIENT_CREDENTIALS" } |
551 | | - ] |
552 | | - } |
553 | | - } |
554 | | - }, |
555 | | - "then": { |
556 | | - "properties": { |
557 | | - "securityProperties": { |
558 | | - "$ref": "#/definitions/OAuth2.0ClientCredentialsSecurityProperties_type" |
559 | | - } |
560 | | - } |
561 | | - } |
562 | | - }, |
563 | | - { |
564 | | - "if": { |
565 | | - "properties": { |
566 | | - "policy": { |
567 | | - "oneOf": [ |
568 | | - { "const": "OAUTH2.0_RESOURCE_OWNER_PASSWORD_CREDENTIALS" } |
569 | | - ] |
570 | | - } |
571 | | - } |
572 | | - }, |
573 | | - "then": { |
574 | | - "properties": { |
575 | | - "securityProperties": { |
576 | | - "$ref": "#/definitions/OAuth2.0ROPCSecurityProperties_type" |
577 | | - } |
578 | | - } |
579 | | - } |
580 | | - }, |
581 | 522 | { |
582 | 523 | "if": { |
583 | 524 | "properties": { |
|
2005 | 1946 | "enum": [ |
2006 | 1947 | "NONE", |
2007 | 1948 | "BASIC_AUTH", |
2008 | | - "CUSTOM_SINGLE_TOKEN", "API_KEY_AUTHENTICATION", |
| 1949 | + "API_KEY_AUTHENTICATION", |
2009 | 1950 | "OAUTH_AUTHORIZATION_CODE_CREDENTIALS", |
2010 | 1951 | "OAUTH_CLIENT_CREDENTIALS", |
2011 | 1952 | "OAUTH_RESOURCE_OWNER_PASSWORD_CREDENTIALS", |
2012 | 1953 | "OCI_SIGNATURE_VERSION1", |
2013 | 1954 | "OAUTH_ONE_TOKEN_BASED", "OAUTH1.0A_ONE_LEGGED_TOKEN_AUTHENTICATION", |
2014 | | - "ADD_OAUTH_AUTHORIZATION_CODE_CREDENTIALS", "OAUTH2.0_AUTHORIZATION_CODE_CREDENTIALS", |
2015 | | - "ADD_OAUTH_CLIENT_CREDENTIALS", "OAUTH2.0_CLIENT_CREDENTIALS", |
2016 | | - "ADD_OAUTH_RESOURCE_OWNER_PASSWORD_CREDENTIALS", "OAUTH2.0_RESOURCE_OWNER_PASSWORD_CREDENTIALS", |
2017 | 1955 | "AWS_SIGNATURE_VERSION4", "CAREAWARE_MILLENNIUM_OAUTH_USER_FLOW","CAREAWARE_MILLENNIUM_OAUTH_SYSTEM_FLOW", |
2018 | 1956 | "JWT_CLIENT_CREDENTIALS_ASSERTION_FOR_OAUTH","JWT_USER_ASSERTION_FOR_OAUTH","OCI_SERVICE_INVOCATION" |
2019 | 1957 | ] |
|
2044 | 1982 | "properties": { |
2045 | 1983 | "policy": { |
2046 | 1984 | "oneOf": [ |
2047 | | - { "const": "CUSTOM_SINGLE_TOKEN" }, |
2048 | 1985 | { "const": "API_KEY_AUTHENTICATION" } |
2049 | 1986 | ] |
2050 | 1987 | } |
|
2142 | 2079 | } |
2143 | 2080 | } |
2144 | 2081 | }, |
2145 | | - { |
2146 | | - "if": { |
2147 | | - "properties": { |
2148 | | - "policy": { |
2149 | | - "oneOf": [ |
2150 | | - { "const": "OAUTH2.0_AUTHORIZATION_CODE_CREDENTIALS" } |
2151 | | - ] |
2152 | | - } |
2153 | | - } |
2154 | | - }, |
2155 | | - "then": { |
2156 | | - "properties": { |
2157 | | - "securityProperties": { |
2158 | | - "$ref": "#/definitions/OAuth2.0AuthorizationSecurityProperties_type" |
2159 | | - } |
2160 | | - } |
2161 | | - } |
2162 | | - }, |
2163 | | - { |
2164 | | - "if": { |
2165 | | - "properties": { |
2166 | | - "policy": { |
2167 | | - "oneOf": [ |
2168 | | - { "const": "OAUTH2.0_RESOURCE_OWNER_PASSWORD_CREDENTIALS" } |
2169 | | - ] |
2170 | | - } |
2171 | | - } |
2172 | | - }, |
2173 | | - "then": { |
2174 | | - "properties": { |
2175 | | - "securityProperties": { |
2176 | | - "$ref": "#/definitions/OAuth2.0ROPCSecurityProperties_type" |
2177 | | - } |
2178 | | - } |
2179 | | - } |
2180 | | - }, |
2181 | | - { |
2182 | | - "if": { |
2183 | | - "properties": { |
2184 | | - "policy": { |
2185 | | - "oneOf": [ |
2186 | | - { "const": "OAUTH2.0_CLIENT_CREDENTIALS" } |
2187 | | - ] |
2188 | | - } |
2189 | | - } |
2190 | | - }, |
2191 | | - "then": { |
2192 | | - "properties": { |
2193 | | - "securityProperties": { |
2194 | | - "$ref": "#/definitions/OAuth2.0ClientCredentialsSecurityProperties_type" |
2195 | | - } |
2196 | | - } |
2197 | | - } |
2198 | | - }, |
2199 | 2082 | { |
2200 | 2083 | "if": { |
2201 | 2084 | "properties": { |
|
2254 | 2137 | "type": "object", |
2255 | 2138 | "properties": { |
2256 | 2139 | "headers": { |
2257 | | - "$ref": "commons_v01.json#/definitions/httpHeaders" |
| 2140 | + "$ref": "commons_v01.json#/definitions/oauthHttpHeaders" |
2258 | 2141 | }, |
2259 | 2142 | "params": { |
2260 | 2143 | "$ref": "commons_v01.json#/definitions/singleValueMap" |
2261 | 2144 | } |
2262 | | - } |
| 2145 | + }, |
| 2146 | + "additionalProperties": false |
2263 | 2147 | }, |
2264 | 2148 | "fetchRules_type": { |
2265 | 2149 | "type": "object", |
|
2289 | 2173 | "type": "string", |
2290 | 2174 | "description": "Regex that identifies the access token type." |
2291 | 2175 | } |
2292 | | - } |
| 2176 | + }, |
| 2177 | + "additionalProperties": false |
2293 | 2178 | }, |
2294 | 2179 | "authExtension_type": { |
2295 | 2180 | "type": "object", |
|
2306 | 2191 | "description": "This object is used to define an authorization url where the user will be redirected to provide consent.", |
2307 | 2192 | "$ref": "commons_v01.json#/definitions/params_type" |
2308 | 2193 | } |
2309 | | - } |
| 2194 | + }, |
| 2195 | + "additionalProperties": false |
2310 | 2196 | }, |
2311 | 2197 | "accessTokenRequest": { |
2312 | 2198 | "description": "HTTP request that should be used to fetch the access token.", |
2313 | | - "$ref": "commons_v01.json#/definitions/httpRequest" |
| 2199 | + "$ref": "commons_v01.json#/definitions/oauthHttpRequest" |
2314 | 2200 | }, |
2315 | 2201 | "refreshTokenRequest": { |
2316 | 2202 | "description": "HTTP request that should be used to refresh the access token.", |
2317 | | - "$ref": "commons_v01.json#/definitions/httpRequest" |
| 2203 | + "$ref": "commons_v01.json#/definitions/oauthHttpRequest" |
2318 | 2204 | }, |
2319 | 2205 | "fetchRules": { |
2320 | 2206 | "description": "How to retrieve information from the various steps of an oauth flow.", |
|
2323 | 2209 | "accessTokenUsage": { |
2324 | 2210 | "$ref": "#/definitions/accessTokenUsage_type" |
2325 | 2211 | } |
2326 | | - } |
| 2212 | + }, |
| 2213 | + "additionalProperties": false |
2327 | 2214 | }, |
2328 | 2215 |
|
2329 | 2216 | "OAuth2.0AuthorizationSecurityProperties_type": { |
|
0 commit comments