fix(module): rename caos to zitadel

This commit is contained in:
adlerhurst 2022-04-27 00:28:09 +02:00
parent 826c8b89d4
commit bb4d854efe
63 changed files with 127 additions and 127 deletions

View file

@ -4,9 +4,9 @@ import (
"context"
"net/http"
"github.com/caos/oidc/v2/pkg/client/rp"
httphelper "github.com/caos/oidc/v2/pkg/http"
"github.com/caos/oidc/v2/pkg/oidc"
"github.com/zitadel/oidc/v2/pkg/client/rp"
httphelper "github.com/zitadel/oidc/v2/pkg/http"
"github.com/zitadel/oidc/v2/pkg/oidc"
)
const (

View file

@ -1,7 +1,7 @@
package rp
import (
"github.com/caos/oidc/v2/pkg/oidc/grants/tokenexchange"
"github.com/zitadel/oidc/v2/pkg/oidc/grants/tokenexchange"
)
//DelegationTokenRequest is an implementation of TokenExchangeRequest

View file

@ -9,8 +9,8 @@ import (
"gopkg.in/square/go-jose.v2"
httphelper "github.com/caos/oidc/v2/pkg/http"
"github.com/caos/oidc/v2/pkg/oidc"
httphelper "github.com/zitadel/oidc/v2/pkg/http"
"github.com/zitadel/oidc/v2/pkg/oidc"
)
func NewRemoteKeySet(client *http.Client, jwksURL string, opts ...func(*remoteKeySet)) oidc.KeySet {

View file

@ -1,3 +1,3 @@
package mock
//go:generate mockgen -package mock -destination ./verifier.mock.go github.com/caos/oidc/pkg/rp Verifier
//go:generate mockgen -package mock -destination ./verifier.mock.go github.com/zitadel/oidc/pkg/rp Verifier

View file

@ -1,5 +1,5 @@
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/caos/oidc/pkg/rp (interfaces: Verifier)
// Source: github.com/zitadel/oidc/pkg/rp (interfaces: Verifier)
// Package mock is a generated GoMock package.
package mock
@ -10,7 +10,7 @@ import (
"github.com/golang/mock/gomock"
"github.com/caos/oidc/v2/pkg/oidc"
"github.com/zitadel/oidc/v2/pkg/oidc"
)
// MockVerifier is a mock of Verifier interface

View file

@ -12,9 +12,9 @@ import (
"golang.org/x/oauth2"
"gopkg.in/square/go-jose.v2"
"github.com/caos/oidc/v2/pkg/client"
httphelper "github.com/caos/oidc/v2/pkg/http"
"github.com/caos/oidc/v2/pkg/oidc"
"github.com/zitadel/oidc/v2/pkg/client"
httphelper "github.com/zitadel/oidc/v2/pkg/http"
"github.com/zitadel/oidc/v2/pkg/oidc"
)
const (

View file

@ -5,7 +5,7 @@ import (
"golang.org/x/oauth2"
"github.com/caos/oidc/v2/pkg/oidc/grants/tokenexchange"
"github.com/zitadel/oidc/v2/pkg/oidc/grants/tokenexchange"
)
//TokenExchangeRP extends the `RelyingParty` interface for the *draft* oauth2 `Token Exchange`

View file

@ -6,7 +6,7 @@ import (
"gopkg.in/square/go-jose.v2"
"github.com/caos/oidc/v2/pkg/oidc"
"github.com/zitadel/oidc/v2/pkg/oidc"
)
type IDTokenVerifier interface {