Skip to content

Commit 9f3f1e0

Browse files
committed
SDK-1007: Change dashboard to hub
1 parent 5137711 commit 9f3f1e0

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Please feel free to reach out
4040
## An Architectural View
4141

4242
To integrate your application with Yoti, your back-end must expose a GET endpoint that Yoti will use to forward tokens.
43-
The endpoint can be configured in Yoti Dashboard when you create/update your application.
43+
The endpoint can be configured in Yoti Hub when you create/update your application.
4444

4545
The image below shows how your application back-end and Yoti integrate in the context of a Login flow.
4646
Yoti SDK carries out steps 6 through 9 for you, including profile decryption and communication with backend services.
@@ -88,8 +88,8 @@ try {
8888

8989
Where:
9090

91-
* `YOUR_SDK_ID` is the identifier generated by Yoti Dashboard when you create your app.
92-
* `PATH/TO/YOUR/APPLICATION/KEY_PAIR.pem` is the path to the pem file your browser generates for you, when you create your app on Yoti Dashboard.
91+
* `YOUR_SDK_ID` is the identifier generated by Yoti Hub when you create your app.
92+
* `PATH/TO/YOUR/APPLICATION/KEY_PAIR.pem` is the path to the pem file your browser generates for you, when you create your app on Yoti Hub.
9393

9494
## Profile Retrieval
9595

@@ -177,7 +177,7 @@ try {
177177
Where `yourUserSearchMethod` is a piece of logic in your app that is supposed to find a user, given a userId.
178178
No matter if the user is a new or an existing one, Yoti will always provide her/his profile, so you don't necessarily need to store it.
179179

180-
The `profile` object provides a set of attributes corresponding to user attributes. Whether the attributes are present or not depends on the settings you have applied to your app on Yoti Dashboard.
180+
The `profile` object provides a set of attributes corresponding to user attributes. Whether the attributes are present or not depends on the settings you have applied to your app on Yoti Hub.
181181

182182
You can retrieve the sources and verifiers for each attribute as follows:
183183

@@ -212,7 +212,7 @@ Yoti will provide a boolean result on the following checks:
212212
* Watch list - Verify against watch lists from the Office of Foreign Assets Control
213213

214214
To use this functionality you must ensure:
215-
* Your application is assigned to your Organisation in the Yoti Dashboard - please see [here]('https://www.yoti.com/developers/documentation') for further information.
215+
* Your application is assigned to your Organisation in the Yoti Hub - please see [here]('https://www.yoti.com/developers/documentation') for further information.
216216
* Within your application please ensure that you have selected the 'given names' and 'family name' attributes from the data tab. This is the minimum requirement for the AML check.
217217

218218
The AML check uses a simplified view of the User Profile. You need only provide the following:
@@ -262,7 +262,7 @@ Please note all our examples work with [Docker](https://docs.docker.com/).
262262

263263
### Profile sharing
264264

265-
* Create your application in the [Yoti Dashboard](https://www.yoti.com/dashboard/applications) (this requires having a Yoti account)
265+
* Create your application in the [Yoti Hub](https://hub.yoti.com) (this requires having a Yoti account)
266266
* Set the application domain of your app to `localhost:4002`
267267
* Set the scenario callback URL to `/profile.php`
268268
* Do the steps below inside the [examples folder](https://github.com/getyoti/php/tree/master/examples)
@@ -275,7 +275,7 @@ Please note all our examples work with [Docker](https://docs.docker.com/).
275275

276276
### AML Check
277277

278-
* Create your application in the [Yoti Dashboard](https://www.yoti.com/dashboard/applications) (this requires having a Yoti account)
278+
* Create your application in the [Yoti Hub](https://hub.yoti.com) (this requires having a Yoti account)
279279
* Do the steps below inside the [examples folder](https://github.com/getyoti/php/tree/master/examples)
280280
* Put `your-application-pem-file.pem` file inside the [examples/keys](https://github.com/getyoti/php/tree/master/examples/keys) folder. As Docker requires the `.pem` file to reside within the same location where it's run from.
281281
* Copy `.env.dist` to `.env` and fill in the environment variables `YOTI_APPLICATION_ID`, `YOTI_SCENARIO_ID`, `YOTI_SDK_ID`
@@ -324,7 +324,7 @@ $ ./vendor/bin/phpunit tests
324324
* [X] Age / Date of Birth `getDateOfBirth()->getValue()` // DateTime Object
325325
* [X] Date `format('d-m-Y')`
326326
* [X] Age / Age Verifications `getAgeVerifications()` // array of AgeVerification Object
327-
* [X] Age Over 50 `['age_over:50']` // AgeVerification Object, this depends on your settings on Yoti Dashboard
327+
* [X] Age Over 50 `['age_over:50']` // AgeVerification Object, this depends on your settings on Yoti Hub
328328
* [X] Age Under Verification `findAgeUnderVerification($xx)` // Yoti\Entity\AgeVerification Object
329329
* [X] Age Over Verification `findAgeOverVerification($xx)` // Yoti\Entity\AgeVerification Object, see details below
330330
* [X] Age `getAge()` // int, e.g 50

examples/.env.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33

44
YOTI_SCENARIO_ID=xxxxxxxxxxxxxxxx
55
YOTI_SDK_ID=xxxxxxxxxxxxxxxxxxxxx
6-
# Below is the private key (in .pem format) associated with the Yoti Application you created on Dashboard
6+
# Below is the private key (in .pem format) associated with the Yoti Application you created on Yoti Hub
77
YOTI_KEY_FILE_PATH=/path_to_pem_dir/php-sdk-access-security.pem

src/Yoti/Entity/AgeVerification.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __construct(Attribute $derivedAttribute, $checkType, $age, $resu
3232
}
3333

3434
/**
35-
* The type of age check performed, as specified on dashboard.
35+
* The type of age check performed, as specified on Yoti Hub.
3636
* Currently this might be 'age_over' or 'age_under'.
3737
*
3838
* @return string $checkType
@@ -43,7 +43,7 @@ public function getCheckType()
4343
}
4444

4545
/**
46-
* The age that was that checked, as specified on dashboard.
46+
* The age that was that checked, as specified on Yoti Hub.
4747
*
4848
* @return int $age
4949
*/

src/Yoti/YotiClient.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ class YotiClient
3232
// Base url for connect page (user will be redirected to this page eg. baseurl/app-id)
3333
const CONNECT_BASE_URL = 'https://www.yoti.com/connect';
3434

35-
// Dashboard login
36-
const DASHBOARD_URL = 'https://www.yoti.com/dashboard';
35+
// Yoti Hub login
36+
const DASHBOARD_URL = 'https://hub.yoti.com';
3737

3838
// Aml check endpoint
3939
const AML_CHECK_ENDPOINT = '/aml-check';
@@ -67,7 +67,7 @@ class YotiClient
6767
* YotiClient constructor.
6868
*
6969
* @param string $sdkId
70-
* The SDK identifier generated by Yoti Dashboard when you create your app.
70+
* The SDK identifier generated by Yoti Hub when you create your app.
7171
* @param string $pem
7272
* PEM file path or string
7373
* @param string $connectApi (optional)

0 commit comments

Comments
 (0)