Authn: JWT client (#61157)

* add jwt client

* alias JWT verifier

* debug implementation

* add tests for jwt client

* add constant for JWT module

* Feedback

Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
Co-authored-by: Mihály Gyöngyösi <mgyongyosi@users.noreply.github.com>

Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
Co-authored-by: Mihály Gyöngyösi <mgyongyosi@users.noreply.github.com>
This commit is contained in:
Jo
2023-01-10 14:08:52 +00:00
committed by GitHub
parent 2de72c1c39
commit 0c8ad80575
16 changed files with 539 additions and 110 deletions

View File

@@ -6,6 +6,7 @@ import (
"fmt"
"net"
"github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/models/usertoken"
"github.com/grafana/grafana/pkg/registry"
"github.com/grafana/grafana/pkg/services/quota"
@@ -72,3 +73,5 @@ type UserTokenService interface {
type UserTokenBackgroundService interface {
registry.BackgroundService
}
type JWTVerifierService = models.JWTService