grafana/pkg/services/authn/clients/constants.go
Karl Persson 9fbb29c588
AuthN: Add client to perform basic authentication (#60877)
* AuthN: Add basic auth client boilerplate

* AuthN: Implement test function for basic auth client

* AuthN: Implement the authentication method for basic auth

* AuthN: Add tests for basic auth authentication

* ContextHandler: perform basic auth authentication through authn service
if feature toggle is enabled

* AuthN: Add providers for sync services and pass required dependencies
2023-01-03 10:23:38 +01:00

8 lines
143 B
Go

package clients
const (
basicPrefix = "Basic "
bearerPrefix = "Bearer "
authorizationHeaderName = "Authorization"
)