mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-14 20:08:02 +00:00
57b277bc7c
* fix: improve key rotation * update oidc pkg version
13 lines
252 B
Go
13 lines
252 B
Go
package repository
|
|
|
|
import (
|
|
"context"
|
|
|
|
"gopkg.in/square/go-jose.v2"
|
|
)
|
|
|
|
type KeyRepository interface {
|
|
GetSigningKey(ctx context.Context, keyCh chan<- jose.SigningKey, algorithm string)
|
|
GetKeySet(ctx context.Context) (*jose.JSONWebKeySet, error)
|
|
}
|