(discovery) config and storage

This commit is contained in:
Livio Amstutz 2019-12-03 15:17:06 +01:00
parent ce6f3182a2
commit ecea7e3730
9 changed files with 132 additions and 38 deletions

View file

@ -15,11 +15,11 @@ type Signer interface {
type idTokenSigner struct {
signer jose.Signer
storage Storage
storage AuthStorage
algorithm jose.SignatureAlgorithm
}
func NewDefaultSigner(storage Storage) (Signer, error) {
func NewDefaultSigner(storage AuthStorage) (Signer, error) {
s := &idTokenSigner{
storage: storage,
}