Versions in this module Expand all Collapse all v0 v0.35.0 Sep 1, 2024 Changes in this version + func NewClient(conn *rpcc.Conn) *domainClient + type Account struct + AccountID string + Email string + GivenName string + IDPConfigURL string + IDPLoginURL string + LoginState LoginState + Name string + PictureURL string + PrivacyPolicyURL *string + TermsOfServiceURL *string + type AccountURLType string + const AccountURLTypeNotSet + const AccountURLTypePrivacyPolicy + const AccountURLTypeTermsOfService + func (e AccountURLType) String() string + func (e AccountURLType) Valid() bool + type ClickDialogButtonArgs struct + DialogButton DialogButton + DialogID string + func NewClickDialogButtonArgs(dialogID string, dialogButton DialogButton) *ClickDialogButtonArgs + type DialogButton string + const DialogButtonConfirmIDPLoginContinue + const DialogButtonErrorGotIt + const DialogButtonErrorMoreDetails + const DialogButtonNotSet + func (e DialogButton) String() string + func (e DialogButton) Valid() bool + type DialogClosedClient interface + Recv func() (*DialogClosedReply, error) + type DialogClosedReply struct + DialogID string + type DialogShownClient interface + Recv func() (*DialogShownReply, error) + type DialogShownReply struct + Accounts []Account + DialogID string + DialogType DialogType + Subtitle *string + Title string + type DialogType string + const DialogTypeAccountChooser + const DialogTypeAutoReauthn + const DialogTypeConfirmIDPLogin + const DialogTypeError + const DialogTypeNotSet + func (e DialogType) String() string + func (e DialogType) Valid() bool + type DismissDialogArgs struct + DialogID string + TriggerCooldown *bool + func NewDismissDialogArgs(dialogID string) *DismissDialogArgs + func (a *DismissDialogArgs) SetTriggerCooldown(triggerCooldown bool) *DismissDialogArgs + type EnableArgs struct + DisableRejectionDelay *bool + func NewEnableArgs() *EnableArgs + func (a *EnableArgs) SetDisableRejectionDelay(disableRejectionDelay bool) *EnableArgs + type LoginState string + const LoginStateNotSet + const LoginStateSignIn + const LoginStateSignUp + func (e LoginState) String() string + func (e LoginState) Valid() bool + type OpenURLArgs struct + AccountIndex int + AccountURLType AccountURLType + DialogID string + func NewOpenURLArgs(dialogID string, accountIndex int, accountURLType AccountURLType) *OpenURLArgs + type SelectAccountArgs struct + AccountIndex int + DialogID string + func NewSelectAccountArgs(dialogID string, accountIndex int) *SelectAccountArgs