add readiness and partial key rotation

This commit is contained in:
Livio Amstutz 2020-02-11 17:17:09 +01:00
parent f0d17fd839
commit 93709a18b6
15 changed files with 254 additions and 132 deletions

View file

@ -1,6 +1,7 @@
package mock
import (
"context"
"testing"
"github.com/golang/mock/gomock"
@ -67,6 +68,10 @@ func ExpectSigner(a op.Authorizer, t *testing.T) {
type Sig struct{}
func (s *Sig) Health(ctx context.Context) error {
return nil
}
func (s *Sig) SignIDToken(*oidc.IDTokenClaims) (string, error) {
return "", nil
}