-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix : Authorization request to support EWC RFC
- Loading branch information
Showing
2 changed files
with
48 additions
and
19 deletions.
There are no files selected for viewing
8 changes: 6 additions & 2 deletions
8
...idc-android/src/main/java/com/ewc/eudi_wallet_oidc_android/models/AuthorizationDetails.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
package com.ewc.eudi_wallet_oidc_android.models | ||
|
||
import com.google.gson.annotations.SerializedName | ||
data class CredentialTypeDefinition( | ||
@SerializedName("type") var type: ArrayList<String>? = arrayListOf() | ||
) | ||
|
||
data class AuthorizationDetails( | ||
|
||
@SerializedName("type") var type: String? = "openid_credential", | ||
@SerializedName("format") var format: String? = "jwt_vc", | ||
@SerializedName("format") var format: String? = null, | ||
@SerializedName("types") var types: ArrayList<String>? = arrayListOf(), | ||
@SerializedName("locations") var locations: ArrayList<String>? = arrayListOf() | ||
@SerializedName("locations") var locations: ArrayList<String>? = arrayListOf(), | ||
@SerializedName("credential_definition") var credentialDefinition: CredentialTypeDefinition? = CredentialTypeDefinition() | ||
|
||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters