mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-17 21:37:35 +00:00
69534a2f7a
* feat: allow JWT for ZITADEL APIs * improve getTokenIDAndSubject * comment Co-authored-by: Silvan <silvan.reusser@gmail.com>
15 lines
508 B
Go
15 lines
508 B
Go
package authz
|
|
|
|
import (
|
|
"database/sql"
|
|
|
|
"github.com/zitadel/zitadel/internal/authz/repository"
|
|
"github.com/zitadel/zitadel/internal/authz/repository/eventsourcing"
|
|
"github.com/zitadel/zitadel/internal/crypto"
|
|
"github.com/zitadel/zitadel/internal/query"
|
|
)
|
|
|
|
func Start(queries *query.Queries, dbClient *sql.DB, keyEncryptionAlgorithm crypto.EncryptionAlgorithm, externalSecure bool) (repository.Repository, error) {
|
|
return eventsourcing.Start(queries, dbClient, keyEncryptionAlgorithm, externalSecure)
|
|
}
|