Skip to content

Commit

Permalink
update eudi-lib-jvm-openid4vci-kt library to 0.3.1; improve logging a…
Browse files Browse the repository at this point in the history
…nd support for configuration flag to enable/disable; log http request/response
  • Loading branch information
vkanellopoulos committed Jun 12, 2024
1 parent 26ad04a commit 140b3b8
Show file tree
Hide file tree
Showing 65 changed files with 445 additions and 262 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ file.

```groovy
dependencies {
implementation "eu.europa.ec.eudi:eudi-lib-android-wallet-core:0.9.4-SNAPSHOT"
implementation "eu.europa.ec.eudi:eudi-lib-android-wallet-core:0.9.5-SNAPSHOT"
implementation "androidx.biometric:biometric-ktx:1.2.0-alpha05"
}
```
Expand Down Expand Up @@ -201,6 +201,7 @@ val config = EudiWalletConfig.Builder(applicationContext)
useDPoP(false)
parUsage(ParUsage.IF_SUPPORTED)
proofTypes(Config.ProofType.JWT, Config.ProofType.CWT)
debugLogging(true)
}
.build()

Expand Down
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.9.5-SNAPSHOT]

__12 Jun 2024__

- Bump eudi-lib-jvm-openid4vci-kt to v0.3.1
- Configurable debug logging for OpenId4VCI

## [0.9.4-SNAPSHOT]

__10 Jun 2024__
Expand Down
4 changes: 2 additions & 2 deletions docs/wallet-core/eu.europa.ec.eudi.wallet.document/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

## Types

| Name | Summary |
|----------------------------------|--------------------------------------------------------------------------------------------------------------------|
| Name | Summary |
|---|---|
| [Constants](-constants/index.md) | [androidJvm]<br>object [~~Constants~~](-constants/index.md)<br>Shared constant values for doc types and namespaces |
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
# DocumentFailed

[androidJvm]\
constructor(name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), docType: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), cause: [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html))
constructor(name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html),
docType: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html),
cause: [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html))
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,23 @@
# DocumentFailed

[androidJvm]\
data class [DocumentFailed](index.md)(val name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val docType: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val cause: [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)) : [IssueEvent](../index.md)
data class [DocumentFailed](index.md)(val
name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val
docType: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val
cause: [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)) : [IssueEvent](../index.md)

Document issuance failed.

## Constructors

| | |
|---|---|
| | |
|---------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [DocumentFailed](-document-failed.md) | [androidJvm]<br>constructor(name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), docType: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), cause: [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)) |

## Properties

| Name | Summary |
|---|---|
| [cause](cause.md) | [androidJvm]<br>val [cause](cause.md): [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)<br>the error that caused the failure |
| [docType](doc-type.md) | [androidJvm]<br>val [docType](doc-type.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>the document type |
| [name](name.md) | [androidJvm]<br>val [name](name.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>the name of the document |
| Name | Summary |
|------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [cause](cause.md) | [androidJvm]<br>val [cause](cause.md): [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)<br>the error that caused the failure |
| [docType](doc-type.md) | [androidJvm]<br>val [docType](doc-type.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>the document type |
| [name](name.md) | [androidJvm]<br>val [name](name.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>the name of the document |
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
# DocumentIssued

[androidJvm]\
constructor(documentId: DocumentId, name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), docType: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))
constructor(documentId: DocumentId,
name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html),
docType: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,28 @@

# DocumentIssued

data class [DocumentIssued](index.md)(val documentId: DocumentId, val name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val docType: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) : [IssueEvent](../index.md)
data class [DocumentIssued](index.md)(val documentId: DocumentId, val
name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val
docType: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) : [IssueEvent](../index.md)

Document issued successfully.

#### See also

| | |
|---|---|
| | |
|------------|---------------------|
| DocumentId | for the document id |

## Constructors

| | |
|---|---|
| | |
|---------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [DocumentIssued](-document-issued.md) | [androidJvm]<br>constructor(documentId: DocumentId, name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), docType: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) |

## Properties

| Name | Summary |
|---|---|
| [docType](doc-type.md) | [androidJvm]<br>val [docType](doc-type.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>the document type |
| [documentId](document-id.md) | [androidJvm]<br>val [documentId](document-id.md): DocumentId<br>the id of the issued document |
| [name](name.md) | [androidJvm]<br>val [name](name.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>the name of the document |
| Name | Summary |
|------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------|
| [docType](doc-type.md) | [androidJvm]<br>val [docType](doc-type.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>the document type |
| [documentId](document-id.md) | [androidJvm]<br>val [documentId](document-id.md): DocumentId<br>the id of the issued document |
| [name](name.md) | [androidJvm]<br>val [name](name.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>the name of the document |
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
# DocumentRequiresUserAuth

[androidJvm]\
constructor(name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), docType: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), cryptoObject: [BiometricPrompt.CryptoObject](https://developer.android.com/reference/kotlin/androidx/biometric/BiometricPrompt.CryptoObject.html)?)
constructor(name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html),
docType: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html),
cryptoObject: [BiometricPrompt.CryptoObject](https://developer.android.com/reference/kotlin/androidx/biometric/BiometricPrompt.CryptoObject.html)?)
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,30 @@
# DocumentRequiresUserAuth

[androidJvm]\
abstract class [DocumentRequiresUserAuth](index.md)(val name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val docType: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val cryptoObject: [BiometricPrompt.CryptoObject](https://developer.android.com/reference/kotlin/androidx/biometric/BiometricPrompt.CryptoObject.html)?) : [IssueEvent](../index.md)
abstract class [DocumentRequiresUserAuth](index.md)(val
name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val
docType: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val
cryptoObject: [BiometricPrompt.CryptoObject](https://developer.android.com/reference/kotlin/androidx/biometric/BiometricPrompt.CryptoObject.html)?) : [IssueEvent](../index.md)

The document issuance requires user authentication.

## Constructors

| | |
|---|---|
| | |
|-------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [DocumentRequiresUserAuth](-document-requires-user-auth.md) | [androidJvm]<br>constructor(name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), docType: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), cryptoObject: [BiometricPrompt.CryptoObject](https://developer.android.com/reference/kotlin/androidx/biometric/BiometricPrompt.CryptoObject.html)?) |

## Functions

| Name | Summary |
|---|---|
| Name | Summary |
|---------------------|----------------------------------------------------|
| [cancel](cancel.md) | [androidJvm]<br>abstract fun [cancel](cancel.md)() |
| [resume](resume.md) | [androidJvm]<br>abstract fun [resume](resume.md)() |

## Properties

| Name | Summary |
|---|---|
| Name | Summary |
|----------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [cryptoObject](crypto-object.md) | [androidJvm]<br>val [cryptoObject](crypto-object.md): [BiometricPrompt.CryptoObject](https://developer.android.com/reference/kotlin/androidx/biometric/BiometricPrompt.CryptoObject.html)?<br>the crypto object to use for authentication |
| [docType](doc-type.md) | [androidJvm]<br>val [docType](doc-type.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) |
| [name](name.md) | [androidJvm]<br>val [name](name.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) |
| [docType](doc-type.md) | [androidJvm]<br>val [docType](doc-type.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) |
| [name](name.md) | [androidJvm]<br>val [name](name.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) |
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@
# Failure

[androidJvm]\
data class [Failure](index.md)(val cause: [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)) : [IssueEvent](../index.md)
data class [Failure](index.md)(val
cause: [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)) : [IssueEvent](../index.md)

The issuance failed.

## Constructors

| | |
|---|---|
| | |
|------------------------|----------------------------------------------------------------------------------------------------------------------------|
| [Failure](-failure.md) | [androidJvm]<br>constructor(cause: [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)) |

## Properties

| Name | Summary |
|---|---|
| Name | Summary |
|-------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [cause](cause.md) | [androidJvm]<br>val [cause](cause.md): [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)<br>the error that caused the failure |
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
# Finished

[androidJvm]\
constructor(issuedDocuments: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)&lt;DocumentId&gt;)
constructor(issuedDocuments: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)
&lt;DocumentId&gt;)
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,26 @@

# Finished

data class [Finished](index.md)(val issuedDocuments: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)&lt;DocumentId&gt;) : [IssueEvent](../index.md)
data class [Finished](index.md)(val
issuedDocuments: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)
&lt;DocumentId&gt;) : [IssueEvent](../index.md)

The issuance has finished.

#### See also

| | |
|---|---|
| | |
|------------|---------------------|
| DocumentId | for the document id |

## Constructors

| | |
|---|---|
| | |
|--------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Finished](-finished.md) | [androidJvm]<br>constructor(issuedDocuments: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)&lt;DocumentId&gt;) |

## Properties

| Name | Summary |
|---|---|
| Name | Summary |
|----------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [issuedDocuments](issued-documents.md) | [androidJvm]<br>val [issuedDocuments](issued-documents.md): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)&lt;DocumentId&gt;<br>the ids of the issued documents |
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
# issuedDocuments

[androidJvm]\
val [issuedDocuments](issued-documents.md): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)&lt;DocumentId&gt;
val [issuedDocuments](issued-documents.md): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)
&lt;DocumentId&gt;
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@
# Started

[androidJvm]\
data class [Started](index.md)(val total: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)) : [IssueEvent](../index.md)
data class [Started](index.md)(val
total: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)) : [IssueEvent](../index.md)

The issuance was started.

## Constructors

| | |
|---|---|
| | |
|------------------------|----------------------------------------------------------------------------------------------------------------|
| [Started](-started.md) | [androidJvm]<br>constructor(total: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)) |

## Properties

| Name | Summary |
|---|---|
| Name | Summary |
|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [total](total.md) | [androidJvm]<br>val [total](total.md): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)<br>the total number of documents to issue |
Loading

0 comments on commit 140b3b8

Please sign in to comment.