mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-10 12:33:41 +00:00
f60d200d5a
* key rotation * fix: rotate signing key * cleanup * introspect * testingapplication key * date * client keys * fix client keys * fix client keys * access tokens only for users * AuthMethodPrivateKeyJWT * client keys * set introspection info correctly * managae apis * update oidc pkg * cleanup * merge msater * set current sequence in migration * set current sequence in migration * set current sequence in migration * ensure authn keys uptodate * improve key rotation * fix: return api config in ApplicationView * fix mocks for tests * fix(mock): corrected unit tests for updated mock package Co-authored-by: Stefan Benz <stefan@caos.ch>
14 lines
321 B
Go
14 lines
321 B
Go
package repository
|
|
|
|
import (
|
|
"context"
|
|
|
|
"gopkg.in/square/go-jose.v2"
|
|
)
|
|
|
|
type KeyRepository interface {
|
|
GenerateSigningKeyPair(ctx context.Context, algorithm string) error
|
|
GetSigningKey(ctx context.Context, keyCh chan<- jose.SigningKey, algorithm string)
|
|
GetKeySet(ctx context.Context) (*jose.JSONWebKeySet, error)
|
|
}
|