You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+29-12Lines changed: 29 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,11 @@
3
3
4
4
## Table of contents
5
5
6
-
-**[r2.3](#r23)**
6
+
-**[r2.4](#r24) Spring25**
7
+
-~~[r2.3](#r23)~~
7
8
-**[r2.2](#r22)**
8
9
-**[r2.1](#r21)**
9
-
-**[r1.3](#r13)**
10
+
-**[r1.3](#r13) Fall24**
10
11
-**[r1.2](#r12)**
11
12
-**[r1.1](#r11)**
12
13
-**[v0.3.1](#v031)**
@@ -21,44 +22,60 @@ The below sections record the changes for each API version in each release as fo
21
22
* for subsequent release-candidate(s), only the delta to the previous release-candidate
22
23
* for a public release, the consolidated changes since the previous public release
23
24
24
-
# r2.3
25
+
# r2.4
25
26
26
27
## Release Notes
27
28
28
-
This public release contains the definition and documentation of
29
-
* number-verification 1.1.0
29
+
This **public release** contains the definition and documentation of
30
+
* number-verification 2.0.0
30
31
31
32
The API definition(s) are based on
32
33
* Commonalities v0.5.0
33
34
* Identity and Consent Management v0.3.0
34
35
35
-
## number-verification 1.1.0
36
+
## number-verification 2.0.0
36
37
37
-
**number-verification 1.1.0 is the release for v1.1.0 of the NumberVerification API.**
38
+
**number-verification 2.0.0 is the public release for v2.0.0 of the NumberVerification API.**
39
+
40
+
The NumberVerification API version has been upgraded from previous v1.0.0 to v2.0.0 even though the functionality updates included in this version do not contain any breaking change.
41
+
However, the inclusion of a new supported authentication method (CIBA+TS.43 temporary token) to enable the use of the API over Wifi, justifies the generation of a new major version of the API.
38
42
39
43
- API definition **with inline documentation**:
40
-
-[View it on ReDoc](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/NumberVerification/r2.3/code/API_definitions/number-verification.yaml&nocors)
41
-
-[View it on Swagger Editor](https://editor.swagger.io/?url=https://raw.githubusercontent.com/camaraproject/NumberVerification/r2.3/code/API_definitions/number-verification.yaml)
-[View it on ReDoc](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/NumberVerification/r2.4/code/API_definitions/number-verification.yaml&nocors)
45
+
-[View it on Swagger Editor](https://editor.swagger.io/?url=https://raw.githubusercontent.com/camaraproject/NumberVerification/r2.4/code/API_definitions/number-verification.yaml)
- Align error list & model with comm 0.5 by @bigludo7 in https://github.com/camaraproject/NumberVerification/pull/161
49
53
- Add a pattern for x-correlator allowing zero-length string by @bigludo7 in https://github.com/camaraproject/NumberVerification/pull/164
50
54
- servers.url format aligned with current guidelines (`'{apiRoot}/number-verification/v1rc2'`) by @hdamker in https://github.com/camaraproject/NumberVerification/issues/169
51
55
- Link into main branch replaced with link into release branch by @hdamker in https://github.com/camaraproject/NumberVerification/issues/169
56
+
- NumberVerification over WiFi by @AxelNennker in https://github.com/camaraproject/NumberVerification/pull/174
52
57
53
58
### Removed
54
59
55
60
- Remove 403 INVALID_TOKEN_CONTEXT by @bigludo7 in https://github.com/camaraproject/NumberVerification/pull/163
56
61
57
-
**Full Changelog** between v1.1.0 and v1.0.0: https://github.com/camaraproject/NumberVerification/compare/r1.3...r2.3
62
+
**Full Changelog** between v2.0.0 and v1.0.0: https://github.com/camaraproject/NumberVerification/compare/r1.3...r2.4
58
63
59
64
## New Contributors
60
65
*@hdamker made their first contribution by servers.url format aligned with current guidelines (`'{apiRoot}/number-verification/v1rc2'`)
61
66
67
+
# ~~r2.3~~
68
+
69
+
**Release r2.3 has been revoked and removed in favor of the release r2.4**
70
+
71
+
Following the recent approval of TS.43 temporary tokens usage in the ICM workgroup, it has been decided that this API will support them, enabling authentication over WiFi networks.
72
+
73
+
As a result, in release r2.4, both authentication methods are now available:
74
+
- AuthCode + network-based authentication
75
+
- CIBA + TS.43 temporary tokens
76
+
77
+
r2.4 is the official public release for Spring25 meta-release.
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,13 @@
9
9
10
10
# NumberVerification
11
11
12
-
Incubating API Repository to evolve and maintain the definitions and documentation of the NumberVerification API family
12
+
Incubating API Repository to evolve and maintain the definitions and documentation of the NumberVerification API
13
13
* API Repository wiki page: https://lf-camaraproject.atlassian.net/wiki/spaces/CAM/pages/14562399/NumberVerification
14
14
15
15
## Scope
16
16
17
17
* Service APIs for “NumberVerification” (see APIBacklog.md)
18
-
* It provides the customer with the ability to:
18
+
* It provides the API Provider with the ability to:
19
19
* verify the phone number associated with the SIM used in the device connected to the mobile data network.
20
20
* Describe, develop, document and test the APIs (with 1-2 Telcos)
21
21
* Started: October 2022
@@ -26,11 +26,11 @@ Incubating API Repository to evolve and maintain the definitions and documentati
26
26
27
27
* Note: Please be aware that the project will have frequent updates to the main branch. There are no compatibility guarantees associated with code in any branch, including main, until a new release is created. For example, changes may be reverted before a release is created. **For best results, use the latest available release**.
28
28
29
-
* The public release r2.3 with version 1.1.0 of the API number-verification is available [here](https://github.com/camaraproject/NumberVerification/tree/r2.3)
30
-
-1.1.0 Number Verification definition **with inline documentation**:
-[View it on ReDoc](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/NumberVerification/r2.3/code/API_definitions/number-verification.yaml&nocors)
33
-
-[View it on Swagger Editor](https://editor.swagger.io/?url=https://raw.githubusercontent.com/camaraproject/NumberVerification/r2.3/code/API_definitions/number-verification.yaml)
29
+
* The public release r2.4 with version 2.0.0 of the API number-verification is available [here](https://github.com/camaraproject/NumberVerification/tree/r2.4)
30
+
-2.0.0 Number Verification definition **with inline documentation**:
-[View it on ReDoc](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/NumberVerification/r2.4/code/API_definitions/number-verification.yaml&nocors)
33
+
-[View it on Swagger Editor](https://editor.swagger.io/?url=https://raw.githubusercontent.com/camaraproject/NumberVerification/r2.4/code/API_definitions/number-verification.yaml)
34
34
35
35
* Previous releases and pre-releases of the repository are available in https://github.com/camaraproject/NumberVerification/releases
36
36
* For changes see [CHANGELOG.md](https://github.com/camaraproject/NumberVerification/blob/main/CHANGELOG.md)
Copy file name to clipboardExpand all lines: code/API_definitions/number-verification.yaml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ info:
47
47
48
48
The following sequence diagram shows an example of a direct integration into the developer's application and the API Provider's Authorization Server and API for the case that no temporary token is available.
In the case of the Number Verification API scenario and according to the API definition, 3-legged access tokens must be used by API clients to invoke this API with dedicated scope. The API client must authenticate on behalf of a specific user to use this service. This must be done via mobile network authentication.
Scenario: share phone number with valid access token but neither Network-Based authentication nor SIM-Based authentication was used
91
90
Given they use the base url
92
91
And the resource is "/device-phone-number"
93
92
And one of the scopes associated with the access token is number-verification:verify
94
93
When the HTTPS "GET" request is sent
95
94
And the connection the request is sent over originates from a device with NUMBERVERIFY_VERIFY_MATCH_PHONENUMBER1
96
-
And the information, e.g. authentication method reference, associated with the access token indicates that network authentication was NOT used
95
+
And the information, e.g. authentication method reference, associated with the access token indicates that neither Network-based nor SIM-based authentication was used
97
96
And the response header "x-correlator" has same value as the request header "x-correlator"
98
97
And the response header "Content-Type" is "application/json"
99
98
And the response body complies with the OAS schema at "/components/schemas/ErrorInfo"
100
99
Then the response status code is 403
101
100
And the response property "$.status" is 403
102
101
And the response property "$.code" is "NUMBER_VERIFICATION.USER_NOT_AUTHENTICATED_BY_MOBILE_NETWORK"
103
-
And the response property "$.message" is "The subscription must be identified via the mobile network to use this servicet."
102
+
And the response property "$.message" is "The subscription must be identified using either Network-based authentication or SIM-based authentication to access this service."
Scenario: verify phone number with valid access token but neither Network-Based authentication nor SIM-Based authentication was used
189
188
Given they use the base url
190
189
And the resource is "/verify"
191
190
And one of the scopes associated with the access token is number-verification:verify
192
191
When the HTTPS "GET" request is sent
193
192
And the connection the request is sent over originates from a device with NUMBERVERIFY_VERIFY_MATCH_PHONENUMBER1
194
-
And the information, e.g. authentication method reference, associated with the access token indicates that network authentication was NOT used
193
+
And the information, e.g. authentication method reference, associated with the access token indicates that neither Network-based nor SIM-based authentication was used
195
194
And the response header "x-correlator" has same value as the request header "x-correlator"
196
195
And the response header "Content-Type" is "application/json"
197
196
And the response body complies with the OAS schema at "/components/schemas/ErrorInfo"
198
197
Then the response status code is 403
199
198
And the response property "$.status" is 403
200
199
And the response property "$.code" is "NUMBER_VERIFICATION.USER_NOT_AUTHENTICATED_BY_MOBILE_NETWORK"
201
-
And the response property "$.message" is "The subscription must be identified via the mobile network to use this servicet."
200
+
And the response property "$.message" is "The subscription must be identified using either Network-based authentication or SIM-based authentication to access this service."
Copy file name to clipboardExpand all lines: documentation/API_documentation/NumberVerification_device_phone_number_User_Story.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
3
3
|**Item**|**Details**|
4
4
| ---- | ------- |
5
-
|***Summary***| As an application developer, I want to retrieve the phone number associated with a mobile connection. I use client credentials to authenticate and provide e.g. the IP address of the mobile connection. |
5
+
|***Summary***| As an application developer, I want to retrieve the phone number associated with a mobile connection from which the API call was made, so that I can ensure that I obtain the correct phone number and avoid fraud e.g. identity theft. |
6
6
|***Actors and Scope***|**Actors:** Application service provider (ASP), ASP:User, ASP: BusinessManager, ASP:Administrator, Channel Partner, End-User, Communication Service Provider (CSP). <br>**Scope:** <br>-Returns the phone number associated with the access token so the ASPs can get the phone number and verify it themselves.|
7
7
|***Pre-conditions***|The preconditions are listed below:<br><ol><li>The ASP:BusinessManager and ASP:Administrator have been onboarded to the CSP's API platform via (or not) a Channel Partner.</li><li>The ASP:BusinessManager has successfully subscribed to the Number Verification product from the CSP's product catalog via (or not) a Channel Partner.</li><li>The ASP:Administrator has onboarded the ASP:User to the CSP API platform via (or not) a Channel Partner.</li><li>The ASP:User performs an authorization request to CSP.</li><li> The CSP checks access & End-User approval then provide access token to the ASP:User </li><li> The ASP:User get the access token, via (or not) the Channel Partner, based on network authentication to ensure secure access of the API.|
8
-
|***Activities/Steps***|**Starts when:** The ASP:User makes a POST request via the number verification API. This request could be done via (or not) the Channel Partner.<br>**Ends when:** The CSP's Number Verification Server answers providing the phone number corresponding to the one of the end-user's device from which the request was triggered. The ASP:User can check if this number corresponds to the one keyed by the End-User.|
8
+
|***Activities/Steps***|**Starts when:** The ASP:User makes a POST request via the number verification API. This request could be done via (or not) the Channel Partner.<br>**Ends when:** The CSP's Number Verification Server answers providing the phone number corresponding to the one of the end-user's device from which the request was triggered. The ASP:User can check if this number corresponds to the one keyed by the End-User.|
9
9
|***Post-conditions***| The ASP:User could continue offering its service to the End-User with the confirmation of the End-User phone number. |
10
-
|***Exceptions***| Several exceptions might occur during the Number Verification API operations<br>- Unauthorized: Not valid credentials (e.g. use of already expired access token).<br>- Invalid input: Not valid input data to invoke operation (e.g. phone number without the '+' prefix).<br>- Not able to provide: Client authentication was not performed via mobile network. Not working on mobile hotspot (tethering) neither Wifi nor VPN mobile connections|
10
+
|***Exceptions***| Several exceptions might occur during the Number Verification API operations<br>- Unauthorized: Not valid credentials (e.g. use of already expired access token).<br>- Not able to provide: Client authentication was not performed via mobile network or temporary token. Not working on mobile hotspot (tethering) neither Wifi nor VPN mobile connections**if client authentication is performed via mobile network**|
0 commit comments