mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 10:20:29 -06:00
12 lines
549 B
Go
12 lines
549 B
Go
package authn
|
|
|
|
import "github.com/grafana/grafana/pkg/apimachinery/errutil"
|
|
|
|
var (
|
|
ErrTokenNeedsRotation = errutil.Unauthorized("session.token.rotate", errutil.WithLogLevel(errutil.LevelDebug))
|
|
ErrUnsupportedClient = errutil.BadRequest("auth.client.unsupported")
|
|
ErrClientNotConfigured = errutil.BadRequest("auth.client.notConfigured")
|
|
ErrUnsupportedIdentity = errutil.NotImplemented("auth.identity.unsupported")
|
|
ErrExpiredAccessToken = errutil.Unauthorized("oauth.expired-token", errutil.WithPublicMessage("OAuth access token expired"))
|
|
)
|