mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-06-04 11:25:52 +08:00

* feat: added license manager and feature flags * feat: completed org domain api * chore: checking in saml auth handler code * feat: added signup with sso * feat: added login support for admins * feat: added pem support for certificate * ci(build-workflow): 👷 include EE query-service * fix: 🐛 update package name * chore(ee): 🔧 LD_FLAGS related changes Signed-off-by: Prashant Shahi <prashant@signoz.io> Co-authored-by: Prashant Shahi <prashant@signoz.io> Co-authored-by: nityanandagohain <nityanandagohain@gmail.com>
22 lines
576 B
Go
22 lines
576 B
Go
package model
|
|
|
|
import (
|
|
basemodel "go.signoz.io/signoz/pkg/query-service/model"
|
|
)
|
|
|
|
// PrecheckResponse contains login precheck response
|
|
type PrecheckResponse struct {
|
|
SSO bool `json:"sso"`
|
|
SsoUrl string `json:"ssoUrl"`
|
|
CanSelfRegister bool `json:"canSelfRegister"`
|
|
IsUser bool `json:"isUser"`
|
|
SsoError string `json:"ssoError"`
|
|
}
|
|
|
|
// GettableInvitation overrides base object and adds precheck into
|
|
// response
|
|
type GettableInvitation struct {
|
|
*basemodel.InvitationResponseObject
|
|
Precheck *PrecheckResponse `json:"precheck"`
|
|
}
|