diff --git a/.github/dependabot b/.github/dependabot.yml similarity index 100% rename from .github/dependabot rename to .github/dependabot.yml diff --git a/README.md b/README.md index 89c8c1b..4039d08 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ An authorization server needs to parse the incoming proof in order to associate It should parse the proof to ensure that the sender of the proof has access to the private key. ```go -import dpop "github.com/AxisCommunications/go-dpop" +import "github.com/AxisCommunications/go-dpop" proof, err := dpop.Parse(proofString, dpop.POST, &httpUrl, dpop.ParseOptions{ Nonce: "", @@ -48,7 +48,7 @@ jkt := proof.PublicKey() Resource servers need to do the same proof validation that authorization servers do but also check that the proof and access token are bound correctly. ```go -import dpop "github.com/AxisCommunications/go-dpop" +import "github.com/AxisCommunications/go-dpop" proof, err := dpop.Parse(proofString, dpop.POST, &httpUrl, dpop.ParseOptions{ Nonce: "", @@ -84,7 +84,7 @@ if err != nil { A client can generate proofs that authorization and resource servers can validate. ```go -import dpop "github.com/AxisCommunications/go-dpop" +import "github.com/AxisCommunications/go-dpop" // Setup the claims of the proof claims := &dpop.ProofTokenClaims{ diff --git a/boundtoken_test.go b/boundtoken_test.go index 849f51f..e8c83d4 100644 --- a/boundtoken_test.go +++ b/boundtoken_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - dpop "github.com/AxisCommunications/go-dpop" + "github.com/AxisCommunications/go-dpop" ) // Test that the BoundAccessTokenClaims type is correctly implemented diff --git a/create_test.go b/create_test.go index 83f5981..5dc9d83 100644 --- a/create_test.go +++ b/create_test.go @@ -13,7 +13,7 @@ import ( "testing" "time" - dpop "github.com/AxisCommunications/go-dpop" + "github.com/AxisCommunications/go-dpop" "github.com/golang-jwt/jwt/v5" ) diff --git a/errors_test.go b/errors_test.go index 615c9e0..aab1cb1 100644 --- a/errors_test.go +++ b/errors_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - dpop "github.com/AxisCommunications/go-dpop" + "github.com/AxisCommunications/go-dpop" ) // Helper function to control types of joined errors. diff --git a/parse_test.go b/parse_test.go index a4fab6d..f390c9e 100644 --- a/parse_test.go +++ b/parse_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - dpop "github.com/AxisCommunications/go-dpop" + "github.com/AxisCommunications/go-dpop" ) // All proofs used in tests have been generated through the use of diff --git a/proof_test.go b/proof_test.go index 880c06a..029a92a 100644 --- a/proof_test.go +++ b/proof_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - dpop "github.com/AxisCommunications/go-dpop" + "github.com/AxisCommunications/go-dpop" "github.com/golang-jwt/jwt/v5" )