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: docs/authenticate.md
+56-37Lines changed: 56 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ For instructions, see the [OAuth tokens](https://developer.here.com/documentatio
15
15
16
16
You get the `credentials.properties` file.
17
17
18
-
2. Initialize the authentification settings using the **here.access.key.іd** and **here.access.key.secret** from the `credentials.properties` file as `kKeyId` and `kKeySecret` respectively.
18
+
2. Initialize the authentication settings using the **here.access.key.іd** and **here.access.key.secret** from the `credentials.properties` file as `kKeyId` and `kKeySecret` respectively.
19
19
20
20
> #### Note
21
21
> You can also retrieve your credentials from the `credentials.properties` file using the `ReadFromFile` method. For more information, see the [related API documentation](https://developer.here.com/documentation/sdk-cpp/api_reference/classolp_1_1authentication_1_1_authentication_credentials.html#a6bfd8347ebe89e45713b966e621dccdd).
@@ -56,25 +56,28 @@ You can use the `AuthenticationSettings` object to create the `OlpClientSettings
For more information, see the [`AuthenticationClient` reference documentation](https://developer.here.com/documentation/sdk-cpp/api_reference/classolp_1_1authentication_1_1_authentication_client.html).
124
-
125
-
7. Create your own token provider using the authentication client created in step 3, your federated credentials, and the `SignInUserCallback` class.
123
+
6. Create your own token provider using the authentication client's settings created in step 3, your federated credentials.
126
124
127
125
> #### Note
128
126
> You can call your custom token provider form different threads.
You get an access token. By default, it expires in 24 hours. To continue working with the HERE platform after your token expires, generate a new access token.
[DEBUG] PartitionsCacheRepository - Get 'hrn:here:data::olp-here-test:edge-example-catalog::versioned-world-layer::1::0::partition'
59
+
[DEBUG] PartitionsRepository - GetPartitionById found in cache, hrn='hrn:here:data::olp-here-test:edge-example-catalog', key='versioned-world-layer[1]@0^2'
60
+
[DEBUG] DataCacheRepository - Get 'hrn:here:data::olp-here-test:edge-example-catalog::versioned-world-layer::8daa637d-7c81-4322-a600-063f4ae0ef98::Data'
61
+
[DEBUG] DataRepository - GetBlobData found in cache, hrn='hrn:here:data::olp-here-test:edge-example-catalog', key='8daa637d-7c81-4322-a600-063f4ae0ef98'
60
62
[INFO] protected-cache-example - Request partition data - Success, data size - 3375
61
63
```
62
64
@@ -101,7 +103,7 @@ You can get data from a [versioned layer](https://developer.here.com/documentati
101
103
auto request = olp::dataservice::read::DataRequest()
0 commit comments