Skip to content

Commit

Permalink
Rename OIDC4VCI to OpenID4VCI
Browse files Browse the repository at this point in the history
  • Loading branch information
reinkrul committed Jul 11, 2023
1 parent ca12cd0 commit 5ffaf99
Show file tree
Hide file tree
Showing 61 changed files with 610 additions and 609 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@ The following options can be configured on the server:
storage.redis.sentinel.username Username for authenticating to Redis Sentinels.
storage.redis.tls.truststorefile PEM file containing the trusted CA certificate(s) for authenticating remote Redis servers. Can only be used when connecting over TLS (use 'rediss://' as scheme in address).
**VCR**
vcr.oidc4vci.definitionsdir Directory with the additional credential definitions the node could issue (experimental, may change without notice).
vcr.oidc4vci.enabled false Enable issuing and receiving credentials over OIDC4VCI (experimental).
vcr.oidc4vci.timeout 30s Time-out for OpenID4VCI HTTP client operations.
vcr.openid4vci.definitionsdir Directory with the additional credential definitions the node could issue (experimental, may change without notice).
vcr.openid4vci.enabled false Enable issuing and receiving credentials over OpenID4VCI (experimental).
vcr.openid4vci.timeout 30s Time-out for OpenID4VCI HTTP client operations.
==================================== =============================================================================================================================================================================================================================================================================================================== ==================================================================================================================================================================================================================================

This table is automatically generated using the configuration flags in the core and engines. When they're changed
Expand Down
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import (
"github.com/nuts-foundation/nuts-node/storage"
storageCmd "github.com/nuts-foundation/nuts-node/storage/cmd"
"github.com/nuts-foundation/nuts-node/vcr"
oidc4vciAPI "github.com/nuts-foundation/nuts-node/vcr/api/oidc4vci/v0"
openid4vciAPI "github.com/nuts-foundation/nuts-node/vcr/api/openid4vci/v0"
vcrAPI "github.com/nuts-foundation/nuts-node/vcr/api/vcr/v2"
vcrCmd "github.com/nuts-foundation/nuts-node/vcr/cmd"
"github.com/nuts-foundation/nuts-node/vdr"
Expand Down Expand Up @@ -205,7 +205,7 @@ func CreateSystem(shutdownCallback context.CancelFunc) *core.System {
Resolver: docResolver,
}})
system.RegisterRoutes(&vcrAPI.Wrapper{VCR: credentialInstance, ContextManager: jsonld})
system.RegisterRoutes(&oidc4vciAPI.Wrapper{
system.RegisterRoutes(&openid4vciAPI.Wrapper{
VCR: credentialInstance,
DocumentOwner: vdrInstance,
})
Expand Down
File renamed without changes.
44 changes: 22 additions & 22 deletions core/echo_mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions didman/mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
title: OIDC4VCI Issuer API
title: OpenID4VCI Issuer API
version: 0.0.0
description: >
This API is EXPERIMENTAL and implements a draft version of OpenID 4 Verifiable Credential Issuance.
Expand Down Expand Up @@ -77,10 +77,10 @@ paths:
get:
tags:
- Issuer
summary: Get the OIDC4VCI Credential Issuer Metadata
summary: Get the OpenID4VCI Credential Issuer Metadata
description: >
Specified by https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html#name-credential-issuer-metadata
operationId: getOIDC4VCIIssuerMetadata
operationId: getOpenID4VCIIssuerMetadata
responses:
"200":
description: OK
Expand All @@ -101,7 +101,7 @@ paths:
description: >
Can be used to test the existence of the well-known endpoint, used by a Nuts node to discover its own
OpenID4VCI identifier.
operationId: getOIDC4VCIIssuerMetadataHeaders
operationId: getOpenID4VCIIssuerMetadataHeaders
responses:
default:
description: Response of the HEAD request, returning HTTP status and headers as if a GET request was performed.
Expand Down Expand Up @@ -160,7 +160,7 @@ paths:
application/json:
schema:
"$ref": "#/components/schemas/ErrorResponse"
"/n2n/identity/{did}/issuer/oidc4vci/credential":
"/n2n/identity/{did}/issuer/openid4vci/credential":
post:
tags:
- Issuer
Expand Down Expand Up @@ -220,7 +220,7 @@ paths:
application/json:
schema:
"$ref": "#/components/schemas/ErrorResponse"
"/n2n/identity/{did}/wallet/oidc4vci/credential_offer":
"/n2n/identity/{did}/wallet/openid4vci/credential_offer":
get:
tags:
- Wallet
Expand Down Expand Up @@ -296,7 +296,7 @@ components:
}

OAuth2ClientMetadata:
description: OAuth2 Client Metadata, extended with OIDC4VCI parameters
description: OAuth2 Client Metadata, extended with OpenID4VCI parameters
type: object
required:
- credential_offer_endpoint
Expand Down Expand Up @@ -329,7 +329,7 @@ components:
TokenResponse:
type: object
description: |
Token Responses are made as defined in [RFC6749] with additional fields as described in OIDC4VCI.
Token Responses are made as defined in [RFC6749] with additional fields as described in OpenID4VCI.
required:
- access_token
- token_type
Expand Down Expand Up @@ -520,7 +520,7 @@ components:
type: object
description: |
The response to a credential offer, indicating the status of the operation on the wallet's side.
It is an extension to the OIDC4VCI specification to better support server-to-server issuance.
It is an extension to the OpenID4VCI specification to better support server-to-server issuance.
required:
- status
properties:
Expand Down
6 changes: 3 additions & 3 deletions docs/pages/deployment/cli-reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ The following options apply to the server commands below:
--tls.certkeyfile string PEM file containing the private key of the server certificate.
--tls.offload string Whether to enable TLS offloading for incoming connections. Enable by setting it to 'incoming'. If enabled 'tls.certheader' must be configured as well.
--tls.truststorefile string PEM file containing the trusted CA certificates for authenticating remote servers. (default "truststore.pem")
--vcr.oidc4vci.definitionsdir string Directory with the additional credential definitions the node could issue (experimental, may change without notice).
--vcr.oidc4vci.enabled Enable issuing and receiving credentials over OIDC4VCI (experimental).
--vcr.oidc4vci.timeout duration Time-out for OpenID4VCI HTTP client operations. (default 30s)
--vcr.openid4vci.definitionsdir string Directory with the additional credential definitions the node could issue (experimental, may change without notice).
--vcr.openid4vci.enabled Enable issuing and receiving credentials over OpenID4VCI (experimental).
--vcr.openid4vci.timeout duration Time-out for OpenID4VCI HTTP client operations. (default 30s)
--verbosity string Log level (trace, debug, info, warn, error) (default "info")

nuts config
Expand Down
Loading

0 comments on commit 5ffaf99

Please sign in to comment.