mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
15 lines
435 B
Go
15 lines
435 B
Go
package login
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/grafana/grafana/pkg/models"
|
|
)
|
|
|
|
type AuthInfoService interface {
|
|
LookupAndUpdate(ctx context.Context, query *models.GetUserByAuthInfoQuery) (*models.User, error)
|
|
GetAuthInfo(ctx context.Context, query *models.GetAuthInfoQuery) error
|
|
SetAuthInfo(ctx context.Context, cmd *models.SetAuthInfoCommand) error
|
|
UpdateAuthInfo(ctx context.Context, cmd *models.UpdateAuthInfoCommand) error
|
|
}
|