Skip to content

Commit 241e586

Browse files
authored
feat: changes to initiate issuance (#1826)
* feat: drop deprecated fields for issuance api * fix: gen * fix: test * fix: initiate * fix: lint * fix: err * fix: err code
1 parent 06906b4 commit 241e586

File tree

8 files changed

+932
-492
lines changed

8 files changed

+932
-492
lines changed

api/spec/openapi.gen.go

Lines changed: 220 additions & 223 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/v1/openapi.yaml

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1882,32 +1882,6 @@ components:
18821882
required:
18831883
- verifiable_credential
18841884
- issuerURI
1885-
DeprecatedComposeOIDC4CICredential:
1886-
title: DeprecatedComposeOIDC4CICredential
1887-
type: object
1888-
description: "Deprecated. Use /issuer/profiles/{profileID}/{profileVersion}/interactions/initiate-oidc-compose. Model for composing OIDC4CI credential."
1889-
deprecated: true
1890-
properties:
1891-
id_template:
1892-
type: string
1893-
description: ID of the credential template.
1894-
nullable: true
1895-
override_issuer:
1896-
type: boolean
1897-
description: Override issuer.
1898-
nullable: true
1899-
override_subject_did:
1900-
type: boolean
1901-
description: Override credential subject did.
1902-
nullable: true
1903-
perform_strict_validation:
1904-
type: boolean
1905-
description: Perform strict validation.
1906-
nullable: true
1907-
credential:
1908-
type: object
1909-
description: Raw Complete credential for sign and customization
1910-
nullable: false
19111885
SetCredentialRefreshStateRequest:
19121886
title: SetCredentialRefreshStateRequest
19131887
type: object
@@ -1945,23 +1919,6 @@ components:
19451919
type: object
19461920
description: Model for Initiate OIDC Credential Issuance Request.
19471921
properties:
1948-
credential_expires_at:
1949-
type: string
1950-
format: date-time
1951-
deprecated: true
1952-
description: "Deprecated: Use CredentialConfiguration instead. Date when credentials should be consider as expired."
1953-
credential_name:
1954-
type: string
1955-
deprecated: true
1956-
description: "Deprecated: Use CredentialConfiguration instead. Credential name"
1957-
credential_description:
1958-
type: string
1959-
deprecated: true
1960-
description: "Deprecated: Use CredentialConfiguration instead. Credential description"
1961-
credential_template_id:
1962-
type: string
1963-
deprecated: true
1964-
description: 'Deprecated: Use CredentialConfiguration instead. Template of the credential to be issued while successfully concluding this interaction. REQUIRED, if the profile is configured to use multiple credential templates.'
19651922
client_initiate_issuance_url:
19661923
type: string
19671924
description: 'URL of the issuance initiation endpoint of a Wallet. Takes precedence over client_wellknown request parameter. If both client_initiate_issuance_url and client_wellknown are not provided then response initiate issuance URL will contain custom initiate issuance URL in format openid-initiate-issuance://.'
@@ -1971,10 +1928,6 @@ components:
19711928
op_state:
19721929
type: string
19731930
description: 'String value created by the Credential Issuer and opaque to the Wallet that is used to bind the sub-sequent authentication request with the Credential Issuer to a context set up during previous steps. If the client receives a value for this parameter, it MUST include it in the subsequent Authentication Request to the Credential Issuer as the op_state parameter value. MUST NOT be used in Authorization Code flow when pre-authorized_code is present.'
1974-
claim_endpoint:
1975-
deprecated: true
1976-
type: string
1977-
description: "Deprecated: Use CredentialConfiguration instead. Claim endpoint of the Issuer from where credential claim data has to be requested after successfully acquiring access tokens."
19781931
grant_type:
19791932
type: string
19801933
description: Issuer can provide custom grant types through this parameter. This grant type has to be used while exchanging an access token for authorization code in later steps.
@@ -1995,11 +1948,6 @@ components:
19951948
user_pin_required:
19961949
type: boolean
19971950
description: Required for Pre-Authorized Code Flow. Boolean value specifying whether the issuer expects presentation of a user PIN along with the Token Request in a pre-authorized code flow.
1998-
claim_data:
1999-
deprecated: true
2000-
type: object
2001-
nullable: true
2002-
description: "Deprecated: Use CredentialConfiguration instead. Required for Pre-Authorized Code Flow. VCS OIDC Service acts as OP for wallet applications"
20031951
wallet_initiated_issuance:
20041952
type: boolean
20051953
description: Boolean flags indicates whether given transaction is initiated by Wallet.
@@ -2725,8 +2673,6 @@ components:
27252673
type: object
27262674
description: An object that describes specifics of the Multiple Credential Issuance.
27272675
properties:
2728-
compose:
2729-
$ref: '#/components/schemas/DeprecatedComposeOIDC4CICredential'
27302676
claim_data:
27312677
type: object
27322678
nullable: true

0 commit comments

Comments
 (0)