Documentation
¶
Index ¶
- Variables
- func GetAgentsReport(c echo.Context, agents []*ent.Agent) (core.Maroto, error)
- func GetAntiviriReport(c echo.Context, antiviri []models.Antivirus) (core.Maroto, error)
- func GetComputersReport(c echo.Context, computers []models.Computer) (core.Maroto, error)
- func GetSoftwareReport(c echo.Context, software []models.App) (core.Maroto, error)
- func GetSystemUpdatesReport(c echo.Context, updates []models.SystemUpdate) (core.Maroto, error)
- func ReadOIDCCookie(c echo.Context, name string, secretKey string) (string, error)
- func RenderAccountPartial(c echo.Context, cmp templ.Component) error
- func RenderConfirm(c echo.Context, cmp templ.Component) error
- func RenderError(c echo.Context, cmp templ.Component) error
- func RenderLogin(c echo.Context, cmp templ.Component) error
- func RenderLoginPartial(c echo.Context, cmp templ.Component) error
- func RenderSuccess(c echo.Context, cmp templ.Component) error
- func RenderView(c echo.Context, cmp templ.Component) error
- func RenderViewWithReplaceUrl(c echo.Context, cmp templ.Component, url *url.URL) error
- func ValidatePasswordComplexity(password string) error
- type CheckedItemsForm
- type Handler
- func (h *Handler) AccessGranted(c echo.Context, user *ent.User) error
- func (h *Handler) AddSite(c echo.Context) error
- func (h *Handler) AddTenant(c echo.Context) error
- func (h *Handler) AddUser(c echo.Context) error
- func (h *Handler) AgentAdmit(c echo.Context) error
- func (h *Handler) AgentConfirmAdmission(c echo.Context, regenerate bool) error
- func (h *Handler) AgentConfirmDelete(c echo.Context) error
- func (h *Handler) AgentConfirmDisable(c echo.Context) error
- func (h *Handler) AgentDelete(c echo.Context) error
- func (h *Handler) AgentDisable(c echo.Context) error
- func (h *Handler) AgentEnable(c echo.Context) error
- func (h *Handler) AgentForceRestart(c echo.Context) error
- func (h *Handler) AgentForceRun(c echo.Context) error
- func (h *Handler) AgentLogs(c echo.Context) error
- func (h *Handler) AgentSettings(c echo.Context) error
- func (h *Handler) AgentStatus(c echo.Context) error
- func (h *Handler) AgentsAdmit(c echo.Context) error
- func (h *Handler) AgentsDisable(c echo.Context) error
- func (h *Handler) AgentsEnable(c echo.Context) error
- func (h *Handler) ApplyGlobalRustDeskSettings(c echo.Context) error
- func (h *Handler) ApplyGlobalSettings(c echo.Context) error
- func (h *Handler) ApproveAccount(c echo.Context) error
- func (h *Handler) Apps(c echo.Context) error
- func (h *Handler) AskForConfirmation(c echo.Context) error
- func (h *Handler) Auth(c echo.Context) error
- func (h *Handler) AuthenticationSettings(c echo.Context) error
- func (h *Handler) BrowseLogicalDisk(c echo.Context) error
- func (h *Handler) CertificateConfirmRevocation(c echo.Context) error
- func (h *Handler) ChangeAgentFrequency(c echo.Context, settings *models.GeneralSettings) error
- func (h *Handler) ChangeRemoteAssistanceSetting(c echo.Context, settings *models.GeneralSettings) error
- func (h *Handler) ChangeSFTPSetting(c echo.Context, settings *models.GeneralSettings) error
- func (h *Handler) ChangeWingetFrequency(c echo.Context, settings *models.GeneralSettings) error
- func (h *Handler) CheckNATSComponentStatus(data *dashboard_views.DashboardData)
- func (h *Handler) Computer(c echo.Context) error
- func (h *Handler) ComputerConfirmDelete(c echo.Context) error
- func (h *Handler) ComputerDeploy(c echo.Context, successMessage string) error
- func (h *Handler) ComputerDeployInstall(c echo.Context) error
- func (h *Handler) ComputerDeploySearchPackagesInstall(c echo.Context) error
- func (h *Handler) ComputerDeployUninstall(c echo.Context) error
- func (h *Handler) ComputerDeployUpdate(c echo.Context) error
- func (h *Handler) ComputerMetadata(c echo.Context) error
- func (h *Handler) ComputerStartRustDesk(c echo.Context) error
- func (h *Handler) ComputerStartVNC(c echo.Context) error
- func (h *Handler) ComputerStopVNC(c echo.Context) error
- func (h *Handler) ComputerTasks(c echo.Context, successMessage string) error
- func (h *Handler) ComputersList(c echo.Context, successMessage string, comesFromDialog bool) error
- func (h *Handler) ConfirmDeleteProfile(c echo.Context) error
- func (h *Handler) ConfirmDeleteTask(c echo.Context) error
- func (h *Handler) ConfirmEmail(c echo.Context) error
- func (h *Handler) CreateForgotPasswordSession(c echo.Context, user *ent.User) error
- func (h *Handler) CreateSession(c echo.Context, user *ent.User) error
- func (h *Handler) Dashboard(c echo.Context) error
- func (h *Handler) DeleteItem(c echo.Context) error
- func (h *Handler) DeleteMany(c echo.Context) error
- func (h *Handler) DeleteServer(c echo.Context) error
- func (h *Handler) DeleteServerConfirm(c echo.Context) error
- func (h *Handler) DeleteSite(c echo.Context) error
- func (h *Handler) DeleteTenant(c echo.Context) error
- func (h *Handler) DeleteUser(c echo.Context) error
- func (h *Handler) DeployInstall(c echo.Context) error
- func (h *Handler) DeployPackageToSelectedAgents(c echo.Context) error
- func (h *Handler) DeployUninstall(c echo.Context) error
- func (h *Handler) Disable2FA(c echo.Context) error
- func (h *Handler) Download(c echo.Context) error
- func (h *Handler) DownloadFile(c echo.Context) error
- func (h *Handler) DownloadFolderAsZIP(c echo.Context) error
- func (h *Handler) DownloadManyAsZIP(c echo.Context) error
- func (h *Handler) EditProfile(c echo.Context, method string, id string, successMessage string) error
- func (h *Handler) EditSite(c echo.Context) error
- func (h *Handler) EditTask(c echo.Context) error
- func (h *Handler) EditTenant(c echo.Context) error
- func (h *Handler) Enable2FA(c echo.Context) error
- func (h *Handler) EnableProfile(c echo.Context, enable bool) error
- func (h *Handler) EnableTask(c echo.Context, enable bool) error
- func (h *Handler) Enabled2FA(c echo.Context) error
- func (h *Handler) ExchangeCodeForAccessToken(c echo.Context, code string, verifier string, endpoint string, clientID string) (*OAuth2TokenResponse, error)
- func (h *Handler) ForgotPasswordEmail(c echo.Context) error
- func (h *Handler) GeneralSettings(c echo.Context) error
- func (h *Handler) GenerateAgentsCSVReport(c echo.Context, w *csv.Writer, fileName string) error
- func (h *Handler) GenerateAgentsReport(c echo.Context) error
- func (h *Handler) GenerateAntivirusCSVReport(c echo.Context, w *csv.Writer, fileName string) error
- func (h *Handler) GenerateAntivirusReport(c echo.Context) error
- func (h *Handler) GenerateCSVReports(c echo.Context) error
- func (h *Handler) GenerateComputerODSReport(c echo.Context) error
- func (h *Handler) GenerateComputerReport(c echo.Context) error
- func (h *Handler) GenerateComputersCSVReport(c echo.Context, w *csv.Writer, fileName string) error
- func (h *Handler) GenerateComputersReport(c echo.Context) error
- func (h *Handler) GenerateRDPFile(c echo.Context) error
- func (h *Handler) GenerateSoftwareCSVReport(c echo.Context, w *csv.Writer, fileName string) error
- func (h *Handler) GenerateSoftwareReport(c echo.Context) error
- func (h *Handler) GenerateUpdatesCSVReport(c echo.Context, w *csv.Writer, fileName string) error
- func (h *Handler) GenerateUpdatesReport(c echo.Context) error
- func (h *Handler) GetAdminSiteName(commonInfo *partials.CommonInfo) string
- func (h *Handler) GetAdminTenantName(commonInfo *partials.CommonInfo) string
- func (h *Handler) GetAgentFilters(c echo.Context) (*filters.AgentFilter, error)
- func (h *Handler) GetAgentLogFile(c echo.Context, agent *ent.Agent, path string) (string, error)
- func (h *Handler) GetCertificates(c echo.Context, successMessage string) error
- func (h *Handler) GetCommonInfo(c echo.Context) (*partials.CommonInfo, error)
- func (h *Handler) GetComputerFilters(c echo.Context) (*filters.AgentFilter, error)
- func (h *Handler) GetComputerReport(c echo.Context, agentID string, commonInfo *partials.CommonInfo) (core.Maroto, error)
- func (h *Handler) GetDropdownSites(c echo.Context) error
- func (h *Handler) GetEDRFilters(c echo.Context) (*filters.AgentFilter, error)
- func (h *Handler) GetRedirectURI(c echo.Context) string
- func (h *Handler) GetSoftwareFilters(c echo.Context) (*filters.ApplicationsFilter, error)
- func (h *Handler) GetSystemUpdatesFilters(c echo.Context) (*filters.AgentFilter, []string, []string, error)
- func (h *Handler) ImportSites(c echo.Context) error
- func (h *Handler) ImportTenants(c echo.Context) error
- func (h *Handler) ImportUsers(c echo.Context) error
- func (h *Handler) IsAgentOffline(c echo.Context) bool
- func (h *Handler) IsAuthenticated(next echo.HandlerFunc) echo.HandlerFunc
- func (h *Handler) ListAgents(c echo.Context, successMessage, errMessage string, comesFromDialog bool) error
- func (h *Handler) ListAntivirusStatus(c echo.Context) error
- func (h *Handler) ListCertificates(c echo.Context) error
- func (h *Handler) ListLatestUpdates(c echo.Context) error
- func (h *Handler) ListSecurityUpdatesStatus(c echo.Context) error
- func (h *Handler) ListSessions(c echo.Context, successMessage string) error
- func (h *Handler) ListSites(c echo.Context, successMessage, errMessage string, confirmDelete bool) error
- func (h *Handler) ListTenants(c echo.Context, successMessage, errMessage string, confirmDelete bool) error
- func (h *Handler) ListUsers(c echo.Context, successMessage, errMessage string) error
- func (h *Handler) LogicalDisks(c echo.Context) error
- func (h *Handler) Login(c echo.Context) error
- func (h *Handler) LoginForgotPass(c echo.Context) error
- func (h *Handler) LoginNewUser(c echo.Context) error
- func (h *Handler) LoginPasswordAuth(c echo.Context) error
- func (h *Handler) LoginPasswordChange(c echo.Context) error
- func (h *Handler) LoginTOTPBackupCheck(c echo.Context) error
- func (h *Handler) LoginTOTPBackupRequest(c echo.Context) error
- func (h *Handler) LoginTOTPConfirm(c echo.Context) error
- func (h *Handler) LoginTOTPValidate(c echo.Context) error
- func (h *Handler) Logout(c echo.Context) error
- func (h *Handler) ManageOIDCSession(c echo.Context, u *ent.User) error
- func (h *Handler) Monitors(c echo.Context) error
- func (h *Handler) MoveTask(c echo.Context, up bool) error
- func (h *Handler) MoveTaskFromTo(c echo.Context) error
- func (h *Handler) MyAccount(c echo.Context) error
- func (h *Handler) MyAccountPassword(c echo.Context) error
- func (h *Handler) Netbird(c echo.Context, successMessage string) error
- func (h *Handler) NetbirdConnect(c echo.Context) error
- func (h *Handler) NetbirdDeletePeer(c echo.Context, comingFromUninstall bool) error
- func (h *Handler) NetbirdDisconnect(c echo.Context, successMessage string) error
- func (h *Handler) NetbirdInstall(c echo.Context) error
- func (h *Handler) NetbirdRefresh(c echo.Context) error
- func (h *Handler) NetbirdRegister(c echo.Context) error
- func (h *Handler) NetbirdSettings(c echo.Context) error
- func (h *Handler) NetbirdSwitchProfile(c echo.Context) error
- func (h *Handler) NetbirdUninstall(c echo.Context) error
- func (h *Handler) NetworkAdapters(c echo.Context) error
- func (h *Handler) NetworkPrinters(c echo.Context) error
- func (h *Handler) NewFolder(c echo.Context) error
- func (h *Handler) NewProfile(c echo.Context) error
- func (h *Handler) NewSession(c echo.Context, user *ent.User) error
- func (h *Handler) NewSite(c echo.Context) error
- func (h *Handler) NewTask(c echo.Context) error
- func (h *Handler) NewTenant(c echo.Context) error
- func (h *Handler) NewUser(c echo.Context) error
- func (h *Handler) Nickname(c echo.Context) error
- func (h *Handler) Notes(c echo.Context) error
- func (h *Handler) OIDCCallback(c echo.Context) error
- func (h *Handler) OIDCLogIn(c echo.Context) error
- func (h *Handler) OperatingSystem(c echo.Context) error
- func (h *Handler) OrgMetadataManager(c echo.Context) error
- func (h *Handler) Overview(c echo.Context) error
- func (h *Handler) PhysicalDisks(c echo.Context) error
- func (h *Handler) PowerManagement(c echo.Context) error
- func (h *Handler) Printers(c echo.Context) error
- func (h *Handler) ProfileIssues(c echo.Context) error
- func (h *Handler) ProfileTags(c echo.Context) error
- func (h *Handler) ProfileTaskDefinition(c echo.Context) error
- func (h *Handler) ProfileTaskSubTypes(c echo.Context) error
- func (h *Handler) ProfileTaskTypes(c echo.Context) error
- func (h *Handler) Profiles(c echo.Context, successMessage string) error
- func (h *Handler) Register(e *echo.Echo)
- func (h *Handler) Register2FA(c echo.Context) error
- func (h *Handler) RemoteAssistance(c echo.Context) error
- func (h *Handler) RemovePrinter(c echo.Context) error
- func (h *Handler) RenameItem(c echo.Context) error
- func (h *Handler) RenderMarkdown(c echo.Context) error
- func (h *Handler) RenewUserCertificate(c echo.Context) error
- func (h *Handler) Reports(c echo.Context) error
- func (h *Handler) RequestUserCertificate(c echo.Context) error
- func (h *Handler) ResendPasswordLink(c echo.Context) error
- func (h *Handler) RevocateCertificate(c echo.Context) error
- func (h *Handler) RunProfile(c echo.Context) error
- func (h *Handler) RunTask(c echo.Context) error
- func (h *Handler) RustDeskSettings(c echo.Context) error
- func (h *Handler) RustDeskStart(c echo.Context) error
- func (h *Handler) RustDeskStop(c echo.Context) error
- func (h *Handler) SMTPSettings(c echo.Context) error
- func (h *Handler) SearchFlatpakPackages(c echo.Context) error
- func (h *Handler) SearchHomeBrewCasksPackages(c echo.Context) error
- func (h *Handler) SearchHomeBrewFormulaePackages(c echo.Context) error
- func (h *Handler) SearchPackagesAction(c echo.Context, install bool) error
- func (h *Handler) SearchWingetPackages(c echo.Context) error
- func (h *Handler) SelectPackageDeployment(c echo.Context) error
- func (h *Handler) SendCertificateRequestToNATS(c echo.Context, user *openuem_ent.User) error
- func (h *Handler) SendRegister(c echo.Context) error
- func (h *Handler) SessionConfirmDelete(c echo.Context) error
- func (h *Handler) SessionDelete(c echo.Context) error
- func (h *Handler) SetDefaultPrinter(c echo.Context) error
- func (h *Handler) SetEmailConfirmed(c echo.Context) error
- func (h *Handler) Shares(c echo.Context) error
- func (h *Handler) ShowUpdateAgentList(c echo.Context, r *openuem_ent.Release, successMessage, errorMessage string) error
- func (h *Handler) ShowUpdateServersList(c echo.Context, r *openuem_ent.Release, successMessage, errorMessage string) error
- func (h *Handler) SignIn(c echo.Context) error
- func (h *Handler) Software(c echo.Context) error
- func (h *Handler) StartNATSConnectJob() error
- func (h *Handler) TagManager(c echo.Context) error
- func (h *Handler) TestSMTPSettings(c echo.Context) error
- func (h *Handler) UpdateAgents(c echo.Context) error
- func (h *Handler) UpdateAgentsConfirm(c echo.Context) error
- func (h *Handler) UpdateForgotPasswordSession(c echo.Context, user *ent.User) error
- func (h *Handler) UpdatePersonalInfo(c echo.Context) error
- func (h *Handler) UpdateServers(c echo.Context) error
- func (h *Handler) UpdateServersConfirm(c echo.Context) error
- func (h *Handler) UploadFile(c echo.Context) error
- func (h *Handler) VerifyForgotPasswordCode(c echo.Context) error
- func (h *Handler) WriteOIDCCookie(c echo.Context, name string, value string, secretKey string) error
- func (h *Handler) ZitadelGetUserRoles(accessToken string, settings *ent.Authentication) (*ZitadelRolesResponse, error)
- type MyCustomClaims
- type NewTenant
- type NewUser
- type OAuth2TokenResponse
- type RegisterRequest
- type UserInfoResponse
- type ZitadelRolesResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var UpdateChannels = []string{"stable", "devel", "testing"}
Functions ¶
func GetAgentsReport ¶
func GetAntiviriReport ¶
func GetComputersReport ¶
func GetSoftwareReport ¶
func GetSystemUpdatesReport ¶
func ReadOIDCCookie ¶ added in v0.10.0
func RenderAccountPartial ¶ added in v0.11.0
func RenderLoginPartial ¶ added in v0.11.0
func ValidatePasswordComplexity ¶ added in v0.11.0
Types ¶
type CheckedItemsForm ¶
type Handler ¶
type Handler struct {
Model *models.Model
SessionManager *sessions.SessionManager
JWTKey string
CertPath string
KeyPath string
SFTPKeyPath string
CACertPath string
DownloadDir string
ServerName string
AuthPort string
ConsolePort string
Domain string
TaskScheduler gocron.Scheduler
NATSServers string
NATSTimeout int
NATSConnection *nats.Conn
NATSConnectJob gocron.Job
JetStream jetstream.JetStream
JetStreamCancelFunc context.CancelFunc
AgentStream jetstream.Stream
ServerStream jetstream.Stream
OrgName string
OrgProvince string
OrgLocality string
OrgAddress string
Country string
ReverseProxyAuthPort string
ReverseProxyServer string
LatestServerRelease openuem_nats.OpenUEMRelease
Replicas int
ServerReleasesFolder string
WingetFolder string
FlatpakFolder string
BrewFolder string
CommonFolder string
Version string
ReenableCertAuth bool
ReenablePasswdAuth bool
AuthLogger *log.Logger
OIDCRedirectURI string
}
func NewHandler ¶
func NewHandler(model *models.Model, natsServers string, s *sessions.SessionManager, ts gocron.Scheduler, jwtKey, certPath, keyPath, sftpKeyPath, caCertPath, server, consolePort, authPort, tmpDownloadDir, domain, orgName, orgProvince, orgLocality, orgAddress, country, reverseProxyAuthPort, reverseProxyServer, serverReleasesFolder, wingetFolder, flatpakFolder, brewFolder, commonFolder, version string, reEnableCertAuth, reEnablePasswdAuth bool, authLogger *log.Logger) *Handler
func (*Handler) AccessGranted ¶ added in v0.11.0
func (*Handler) AgentConfirmAdmission ¶
func (*Handler) AgentSettings ¶ added in v0.6.0
func (*Handler) ApplyGlobalRustDeskSettings ¶ added in v0.10.0
func (*Handler) ApplyGlobalSettings ¶ added in v0.7.0
func (*Handler) ApproveAccount ¶ added in v0.10.0
func (*Handler) AuthenticationSettings ¶ added in v0.10.0
func (*Handler) CertificateConfirmRevocation ¶
func (*Handler) ChangeAgentFrequency ¶ added in v0.6.0
func (*Handler) ChangeRemoteAssistanceSetting ¶ added in v0.6.0
func (*Handler) ChangeSFTPSetting ¶ added in v0.6.0
func (*Handler) ChangeWingetFrequency ¶ added in v0.6.0
func (*Handler) CheckNATSComponentStatus ¶
func (h *Handler) CheckNATSComponentStatus(data *dashboard_views.DashboardData)
func (*Handler) ComputerConfirmDelete ¶
func (*Handler) ComputerDeploy ¶
func (*Handler) ComputerDeployInstall ¶
func (*Handler) ComputerDeploySearchPackagesInstall ¶
func (*Handler) ComputerDeployUninstall ¶
func (*Handler) ComputerStartRustDesk ¶ added in v0.10.0
func (*Handler) ComputerTasks ¶ added in v0.12.0
func (*Handler) ComputersList ¶
func (*Handler) CreateForgotPasswordSession ¶ added in v0.11.0
func (*Handler) CreateSession ¶ added in v0.10.0
func (*Handler) DeployPackageToSelectedAgents ¶
func (*Handler) EditProfile ¶
func (*Handler) EnableProfile ¶ added in v0.12.0
func (*Handler) EnableTask ¶ added in v0.12.0
func (*Handler) ExchangeCodeForAccessToken ¶ added in v0.10.0
func (*Handler) ForgotPasswordEmail ¶ added in v0.11.0
func (*Handler) GenerateAgentsCSVReport ¶ added in v0.6.0
func (*Handler) GenerateAntivirusCSVReport ¶ added in v0.6.0
func (*Handler) GenerateAntivirusReport ¶
func (*Handler) GenerateCSVReports ¶ added in v0.6.0
func (*Handler) GenerateComputerODSReport ¶ added in v0.10.0
func (*Handler) GenerateComputerReport ¶ added in v0.10.0
func (*Handler) GenerateComputersCSVReport ¶ added in v0.6.0
func (*Handler) GenerateComputersReport ¶
func (*Handler) GenerateSoftwareCSVReport ¶ added in v0.6.0
func (*Handler) GenerateSoftwareReport ¶
func (*Handler) GenerateUpdatesCSVReport ¶ added in v0.6.0
func (*Handler) GenerateUpdatesReport ¶
func (*Handler) GetAdminSiteName ¶ added in v0.7.0
func (h *Handler) GetAdminSiteName(commonInfo *partials.CommonInfo) string
func (*Handler) GetAdminTenantName ¶ added in v0.7.0
func (h *Handler) GetAdminTenantName(commonInfo *partials.CommonInfo) string
func (*Handler) GetAgentFilters ¶
func (*Handler) GetAgentLogFile ¶ added in v0.6.0
func (*Handler) GetCertificates ¶
func (*Handler) GetCommonInfo ¶ added in v0.7.0
func (*Handler) GetComputerFilters ¶
func (*Handler) GetComputerReport ¶ added in v0.10.0
func (*Handler) GetDropdownSites ¶ added in v0.7.0
func (*Handler) GetEDRFilters ¶ added in v0.12.0
func (*Handler) GetRedirectURI ¶ added in v0.10.0
func (*Handler) GetSoftwareFilters ¶
func (*Handler) GetSystemUpdatesFilters ¶
func (*Handler) ImportTenants ¶ added in v0.7.0
func (*Handler) IsAgentOffline ¶ added in v0.11.0
func (*Handler) IsAuthenticated ¶
func (h *Handler) IsAuthenticated(next echo.HandlerFunc) echo.HandlerFunc
func (*Handler) ListAgents ¶
func (*Handler) ListSecurityUpdatesStatus ¶
func (*Handler) ListSessions ¶
func (*Handler) ListTenants ¶ added in v0.7.0
func (*Handler) LoginForgotPass ¶ added in v0.11.0
func (*Handler) LoginNewUser ¶ added in v0.11.0
func (*Handler) LoginPasswordAuth ¶ added in v0.11.0
func (*Handler) LoginPasswordChange ¶ added in v0.11.0
func (*Handler) LoginTOTPBackupCheck ¶ added in v0.11.0
func (*Handler) LoginTOTPBackupRequest ¶ added in v0.11.0
func (*Handler) LoginTOTPConfirm ¶ added in v0.11.0
func (*Handler) LoginTOTPValidate ¶ added in v0.11.0
func (*Handler) ManageOIDCSession ¶ added in v0.10.0
func (*Handler) MoveTaskFromTo ¶ added in v0.12.0
func (*Handler) MyAccountPassword ¶ added in v0.11.0
func (*Handler) NetbirdConnect ¶ added in v0.11.0
func (*Handler) NetbirdDeletePeer ¶ added in v0.11.0
func (*Handler) NetbirdDisconnect ¶ added in v0.11.0
func (*Handler) NetbirdInstall ¶ added in v0.11.0
func (*Handler) NetbirdRefresh ¶ added in v0.11.0
func (*Handler) NetbirdRegister ¶ added in v0.11.0
func (*Handler) NetbirdSettings ¶ added in v0.11.0
func (*Handler) NetbirdSwitchProfile ¶ added in v0.11.0
func (*Handler) NetbirdUninstall ¶ added in v0.11.0
func (*Handler) NewSession ¶ added in v0.11.0
func (*Handler) OIDCCallback ¶ added in v0.10.0
func (*Handler) PhysicalDisks ¶ added in v0.10.0
func (*Handler) ProfileTaskDefinition ¶ added in v0.9.0
func (*Handler) ProfileTaskSubTypes ¶ added in v0.9.0
func (*Handler) ProfileTaskTypes ¶ added in v0.9.0
func (*Handler) RemovePrinter ¶ added in v0.7.0
func (*Handler) RequestUserCertificate ¶
func (*Handler) ResendPasswordLink ¶ added in v0.11.0
func (*Handler) RustDeskSettings ¶ added in v0.10.0
func (*Handler) RustDeskStart ¶ added in v0.10.0
func (*Handler) RustDeskStop ¶ added in v0.10.0
func (*Handler) SearchFlatpakPackages ¶ added in v0.9.0
func (*Handler) SearchHomeBrewCasksPackages ¶ added in v0.9.0
func (*Handler) SearchHomeBrewFormulaePackages ¶ added in v0.9.0
func (*Handler) SearchPackagesAction ¶
func (*Handler) SelectPackageDeployment ¶
func (*Handler) SendCertificateRequestToNATS ¶
func (*Handler) SetDefaultPrinter ¶ added in v0.7.0
func (*Handler) ShowUpdateAgentList ¶
func (*Handler) ShowUpdateServersList ¶
func (*Handler) StartNATSConnectJob ¶
func (*Handler) UpdateForgotPasswordSession ¶ added in v0.11.0
func (*Handler) UpdatePersonalInfo ¶ added in v0.11.0
func (*Handler) VerifyForgotPasswordCode ¶ added in v0.11.0
func (*Handler) WriteOIDCCookie ¶ added in v0.10.0
func (*Handler) ZitadelGetUserRoles ¶ added in v0.10.0
func (h *Handler) ZitadelGetUserRoles(accessToken string, settings *ent.Authentication) (*ZitadelRolesResponse, error)
type MyCustomClaims ¶
type MyCustomClaims struct {
jwt.RegisteredClaims
}
type OAuth2TokenResponse ¶ added in v0.10.0
type OAuth2TokenResponse struct {
AccessToken string `json:"access_token,omitempty"`
RefreshToken string `json:"refresh_token,omitempty"`
ExpiresIn int `json:"expires_in,omitempty"`
IDToken string `json:"id_token,omitempty"`
TokenType string `json:"token_type,omitempty"`
Error string `json:"error,omitempty"`
ErrorDescription string `json:"error_description,omitempty"`
}
type RegisterRequest ¶
type RegisterRequest struct {
UID string `form:"uid" validate:"required"`
Name string `form:"name" validate:"required"`
Email string `form:"email" validate:"required,email"`
Phone string `form:"phone" validate:"required,e164"`
Country string `form:"country" validate:"required,iso3166_1_alpha2"`
Password string `form:"password"`
AuthType string `form:"auth-type" validate:"required"`
}
type UserInfoResponse ¶ added in v0.10.0
type UserInfoResponse struct {
Subject string `json:"sub,omitempty"`
Name string `json:"name,omitempty"`
GivenName string `json:"given_name,omitempty"`
FamilyName string `json:"family_name,omitempty"`
UpdatedAt int `json:"updated_at,omitempty"`
PreferredUsername string `json:"preferred_username,omitempty"`
Email string `json:"email,omitempty"`
EmailVerified bool `json:"email_verified,omitempty"`
Phone string `json:"phone_number,omitempty"`
Error string `json:"error,omitempty"`
ErrorDescription string `json:"error_description,omitempty"`
Groups []string `json:"groups"`
}
func GetUserInfo ¶ added in v0.10.0
func GetUserInfo(accessToken string, endpoint string) (*UserInfoResponse, error)
type ZitadelRolesResponse ¶ added in v0.10.0
Source Files
¶
- agents.go
- auth.go
- auth_settings.go
- certificates.go
- common.go
- computers.go
- dashboard.go
- deploy.go
- flatpak.go
- handler.go
- homebrew.go
- login.go
- logout.go
- myaccount.go
- netbird.go
- nickname.go
- oidc.go
- org_metadata.go
- printers.go
- profiles.go
- register.go
- render.go
- render_markdown.go
- reports.go
- routes.go
- rustdesk.go
- security.go
- sessions.go
- settings.go
- sftp.go
- sites.go
- smtp.go
- software.go
- tags.go
- tasks.go
- tenants.go
- update_agents.go
- update_servers.go
- users.go
- winget.go
Click to show internal directories.
Click to hide internal directories.