change RP interfaces

This commit is contained in:
Livio Amstutz 2020-09-14 07:52:16 +02:00
parent ed6cbe4fe2
commit 45230569d3
10 changed files with 529 additions and 259 deletions

View file

@ -7,6 +7,7 @@ import (
"github.com/gorilla/mux"
"github.com/caos/oidc/pkg/oidc"
"github.com/caos/oidc/pkg/utils"
)
const (
@ -16,8 +17,12 @@ const (
type OpenIDProvider interface {
Configuration
Authorizer
SessionEnder
Storage() Storage
Decoder() utils.Decoder
Encoder() utils.Encoder
IDTokenVerifier() IDTokenHintVerifier
Crypto() Crypto
DefaultLogoutRedirectURI() string
Signer() Signer
Probes() []ProbesFn
HttpHandler() http.Handler