mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +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)
|
|
}
|