Skip to content

Commit

Permalink
final cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
woutslakhorst committed Dec 8, 2023
1 parent d0c5ae0 commit d8c4be0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions auth/services/oauth/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ type AuthorizationServer interface {
IntrospectAccessToken(ctx context.Context, token string) (*services.NutsAccessToken, error)
}

// Verifier implements the OpenID4VP Verifier role.
type Verifier interface {
// AuthorizationServerMetadata returns the metadata of the remote wallet.
AuthorizationServerMetadata(ctx context.Context, webdid did.DID) (*oauth.AuthorizationServerMetadata, error)
Expand Down
4 changes: 2 additions & 2 deletions auth/services/oauth/relying_party.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ import (
"crypto/tls"
"errors"
"fmt"
"github.com/nuts-foundation/nuts-node/openid4vc"
"github.com/nuts-foundation/nuts-node/vcr/holder"
"net/http"
"net/url"
"strings"
Expand All @@ -39,7 +37,9 @@ import (
"github.com/nuts-foundation/nuts-node/core"
nutsCrypto "github.com/nuts-foundation/nuts-node/crypto"
"github.com/nuts-foundation/nuts-node/didman"
"github.com/nuts-foundation/nuts-node/openid4vc"
"github.com/nuts-foundation/nuts-node/vcr/credential"
"github.com/nuts-foundation/nuts-node/vcr/holder"
"github.com/nuts-foundation/nuts-node/vcr/signature/proof"
"github.com/nuts-foundation/nuts-node/vdr/resolver"
)
Expand Down
8 changes: 4 additions & 4 deletions auth/services/oauth/relying_party_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ import (
"encoding/json"
"errors"
"fmt"
"github.com/nuts-foundation/nuts-node/audit"
"github.com/nuts-foundation/nuts-node/auth/oauth"
"github.com/nuts-foundation/nuts-node/test"
http2 "github.com/nuts-foundation/nuts-node/test/http"
"net/http"
"net/http/httptest"
"testing"
Expand All @@ -36,9 +32,13 @@ import (
ssi "github.com/nuts-foundation/go-did"
"github.com/nuts-foundation/go-did/did"
"github.com/nuts-foundation/go-did/vc"
"github.com/nuts-foundation/nuts-node/audit"
"github.com/nuts-foundation/nuts-node/auth/oauth"
"github.com/nuts-foundation/nuts-node/auth/services"
"github.com/nuts-foundation/nuts-node/crypto"
"github.com/nuts-foundation/nuts-node/didman"
"github.com/nuts-foundation/nuts-node/test"
http2 "github.com/nuts-foundation/nuts-node/test/http"
vcr "github.com/nuts-foundation/nuts-node/vcr/api/vcr/v2"
"github.com/nuts-foundation/nuts-node/vcr/credential"
"github.com/nuts-foundation/nuts-node/vcr/holder"
Expand Down

0 comments on commit d8c4be0

Please sign in to comment.