chore(next): v4 module for development

This commit is contained in:
Tim Möhlmann 2024-04-02 14:23:12 +03:00
parent 5cdb65c30b
commit 14e8529b68
98 changed files with 217 additions and 217 deletions

View file

@ -8,7 +8,7 @@ import (
"github.com/go-chi/chi/v5"
"github.com/zitadel/oidc/v3/pkg/op"
"github.com/zitadel/oidc/v4/pkg/op"
)
const (

View file

@ -10,8 +10,8 @@ import (
"github.com/go-chi/chi/v5"
"golang.org/x/text/language"
"github.com/zitadel/oidc/v3/example/server/storage"
"github.com/zitadel/oidc/v3/pkg/op"
"github.com/zitadel/oidc/v4/example/server/storage"
"github.com/zitadel/oidc/v4/pkg/op"
)
const (

View file

@ -11,7 +11,7 @@ import (
"github.com/go-chi/chi/v5"
"github.com/gorilla/securecookie"
"github.com/sirupsen/logrus"
"github.com/zitadel/oidc/v3/pkg/op"
"github.com/zitadel/oidc/v4/pkg/op"
)
type deviceAuthenticate interface {

View file

@ -6,7 +6,7 @@ import (
"net/http"
"github.com/go-chi/chi/v5"
"github.com/zitadel/oidc/v3/pkg/op"
"github.com/zitadel/oidc/v4/pkg/op"
)
type login struct {

View file

@ -12,8 +12,8 @@ import (
"github.com/zitadel/logging"
"golang.org/x/text/language"
"github.com/zitadel/oidc/v3/example/server/storage"
"github.com/zitadel/oidc/v3/pkg/op"
"github.com/zitadel/oidc/v4/example/server/storage"
"github.com/zitadel/oidc/v4/pkg/op"
)
const (

View file

@ -6,8 +6,8 @@ import (
"net/http"
"os"
"github.com/zitadel/oidc/v3/example/server/exampleop"
"github.com/zitadel/oidc/v3/example/server/storage"
"github.com/zitadel/oidc/v4/example/server/exampleop"
"github.com/zitadel/oidc/v4/example/server/storage"
)
func main() {

View file

@ -3,8 +3,8 @@ package storage
import (
"time"
"github.com/zitadel/oidc/v3/pkg/oidc"
"github.com/zitadel/oidc/v3/pkg/op"
"github.com/zitadel/oidc/v4/pkg/oidc"
"github.com/zitadel/oidc/v4/pkg/op"
)
var (

View file

@ -6,8 +6,8 @@ import (
"golang.org/x/text/language"
"github.com/zitadel/oidc/v3/pkg/oidc"
"github.com/zitadel/oidc/v3/pkg/op"
"github.com/zitadel/oidc/v4/pkg/oidc"
"github.com/zitadel/oidc/v4/pkg/op"
)
const (

View file

@ -14,8 +14,8 @@ import (
jose "github.com/go-jose/go-jose/v3"
"github.com/google/uuid"
"github.com/zitadel/oidc/v3/pkg/oidc"
"github.com/zitadel/oidc/v3/pkg/op"
"github.com/zitadel/oidc/v4/pkg/oidc"
"github.com/zitadel/oidc/v4/pkg/op"
)
// serviceKey1 is a public key which will be used for the JWT Profile Authorization Grant

View file

@ -6,8 +6,8 @@ import (
jose "github.com/go-jose/go-jose/v3"
"github.com/zitadel/oidc/v3/pkg/oidc"
"github.com/zitadel/oidc/v3/pkg/op"
"github.com/zitadel/oidc/v4/pkg/oidc"
"github.com/zitadel/oidc/v4/pkg/op"
)
type multiStorage struct {