mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 19:14:23 +00:00
14 lines
286 B
Go
14 lines
286 B
Go
|
package repository
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
"time"
|
||
|
|
||
|
"gopkg.in/square/go-jose.v2"
|
||
|
)
|
||
|
|
||
|
type KeyRepository interface {
|
||
|
GetSigningKey(ctx context.Context, keyCh chan<- jose.SigningKey, errCh chan<- error, timer <-chan time.Time)
|
||
|
GetKeySet(ctx context.Context) (*jose.JSONWebKeySet, error)
|
||
|
}
|