Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultDashboardTokenLifetime time.Duration = 24 * time.Hour
)
Variables ¶
View Source
var (
TwitchTokenScopes []string = []string{
"channel:moderate",
"chat:edit",
"chat:read",
"user:read:email",
}
)
Functions ¶
func RunServer ¶
func RunServer(ctx context.Context, logger logr.Logger, location string, redirectURI string, controller *twitch.Controller, userController users.Controller, tokenController tokens.Controller) error
This server is used to provide an OAuth token to the server for the user
Types ¶
type LoginEvent ¶
type LoginEvent struct {
Username string
}
Click to show internal directories.
Click to hide internal directories.