mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* 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
8 lines
143 B
Go
8 lines
143 B
Go
package clients
|
|
|
|
const (
|
|
basicPrefix = "Basic "
|
|
bearerPrefix = "Bearer "
|
|
authorizationHeaderName = "Authorization"
|
|
)
|