Skip to content

Commit 4fe3776

Browse files
committed
Refactor OpenID4VP configuration in documentation
This commit updates the documentation to reflect a change in the OpenID4VP configuration method. The method `.openId4VpConfig` has been renamed to `configureOpenId4Vp`. Additionally, the method `withScheme` has been renamed to `withSchemes`.
1 parent d6cb5da commit 4fe3776

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

wiki/configuration.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const val OPENID4VP_VERIFIER_API_URI = "your_verifier_url"
6363
const val OPENID4VP_VERIFIER_LEGAL_NAME = "your_verifier_legal_name"
6464
const val OPENID4VP_VERIFIER_CLIENT_ID = "your_verifier_client_id"
6565

66-
.openId4VpConfig {
66+
configureOpenId4Vp {
6767
withClientIdSchemes(
6868
listOf(
6969
ClientIdScheme.Preregistered(
@@ -277,15 +277,15 @@ enum class DeepLinkType(val schemas: List<String>, val host: String? = null) {
277277
In the case of an additive change regarding OpenID4VP, you also need to update the *EudiWalletConfig* for each flavor inside the core-logic module.
278278

279279
```Kotlin
280-
.openId4VpConfig {
281-
withScheme(
282-
listOf(
283-
BuildConfig.OPENID4VP_SCHEME,
284-
BuildConfig.EUDI_OPENID4VP_SCHEME,
285-
BuildConfig.MDOC_OPENID4VP_SCHEME,
286-
BuildConfig.YOUR_OWN_OPENID4VP_SCHEME
287-
)
288-
)
280+
configureOpenId4Vp {
281+
withSchemes(
282+
listOf(
283+
BuildConfig.OPENID4VP_SCHEME,
284+
BuildConfig.EUDI_OPENID4VP_SCHEME,
285+
BuildConfig.MDOC_OPENID4VP_SCHEME,
286+
BuildConfig.YOUR_OWN_OPENID4VP_SCHEME
287+
)
288+
)
289289
}
290290
```
291291

0 commit comments

Comments
 (0)