package auth import ( "context" ) type Provider interface { ListUsers(ctx context.Context) ([]UserInfo, error) LoginUser(ctx context.Context, username, password string) (*Result, error) SetupUser(ctx context.Context, session, username, preferredUsername, newPassword string) (*UserInfo, error) ValidateToken(ctx context.Context, token string) *UserInfo }