Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 Changes in this version + const CommandClickDialogButton + const CommandDisable + const CommandDismissDialog + const CommandEnable + const CommandOpenURL + const CommandResetCooldown + const CommandSelectAccount + type Account struct + AccountID string + Email string + GivenName string + IdpConfigURL string + IdpLoginURL string + LoginState LoginState + Name string + PictureURL string + PrivacyPolicyURL string + TermsOfServiceURL string + func (v *Account) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Account) UnmarshalJSON(data []byte) error + func (v Account) MarshalEasyJSON(w *jwriter.Writer) + func (v Account) MarshalJSON() ([]byte, error) + type AccountURLType string + const AccountURLTypePrivacyPolicy + const AccountURLTypeTermsOfService + func (t *AccountURLType) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *AccountURLType) UnmarshalJSON(buf []byte) error + func (t AccountURLType) MarshalEasyJSON(out *jwriter.Writer) + func (t AccountURLType) MarshalJSON() ([]byte, error) + func (t AccountURLType) String() string + type ClickDialogButtonParams struct + DialogButton DialogButton + DialogID string + func ClickDialogButton(dialogID string, dialogButton DialogButton) *ClickDialogButtonParams + func (p *ClickDialogButtonParams) Do(ctx context.Context) (err error) + func (v *ClickDialogButtonParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ClickDialogButtonParams) UnmarshalJSON(data []byte) error + func (v ClickDialogButtonParams) MarshalEasyJSON(w *jwriter.Writer) + func (v ClickDialogButtonParams) MarshalJSON() ([]byte, error) + type DialogButton string + const DialogButtonConfirmIdpLoginContinue + const DialogButtonErrorGotIt + const DialogButtonErrorMoreDetails + func (t *DialogButton) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *DialogButton) UnmarshalJSON(buf []byte) error + func (t DialogButton) MarshalEasyJSON(out *jwriter.Writer) + func (t DialogButton) MarshalJSON() ([]byte, error) + func (t DialogButton) String() string + type DialogType string + const DialogTypeAccountChooser + const DialogTypeAutoReauthn + const DialogTypeConfirmIdpLogin + const DialogTypeError + func (t *DialogType) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *DialogType) UnmarshalJSON(buf []byte) error + func (t DialogType) MarshalEasyJSON(out *jwriter.Writer) + func (t DialogType) MarshalJSON() ([]byte, error) + func (t DialogType) String() string + type DisableParams struct + func Disable() *DisableParams + func (p *DisableParams) Do(ctx context.Context) (err error) + func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *DisableParams) UnmarshalJSON(data []byte) error + func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) + func (v DisableParams) MarshalJSON() ([]byte, error) + type DismissDialogParams struct + DialogID string + TriggerCooldown bool + func DismissDialog(dialogID string) *DismissDialogParams + func (p *DismissDialogParams) Do(ctx context.Context) (err error) + func (p DismissDialogParams) WithTriggerCooldown(triggerCooldown bool) *DismissDialogParams + func (v *DismissDialogParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *DismissDialogParams) UnmarshalJSON(data []byte) error + func (v DismissDialogParams) MarshalEasyJSON(w *jwriter.Writer) + func (v DismissDialogParams) MarshalJSON() ([]byte, error) + type EnableParams struct + DisableRejectionDelay bool + func Enable() *EnableParams + func (p *EnableParams) Do(ctx context.Context) (err error) + func (p EnableParams) WithDisableRejectionDelay(disableRejectionDelay bool) *EnableParams + func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EnableParams) UnmarshalJSON(data []byte) error + func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) + func (v EnableParams) MarshalJSON() ([]byte, error) + type EventDialogClosed struct + DialogID string + func (v *EventDialogClosed) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventDialogClosed) UnmarshalJSON(data []byte) error + func (v EventDialogClosed) MarshalEasyJSON(w *jwriter.Writer) + func (v EventDialogClosed) MarshalJSON() ([]byte, error) + type EventDialogShown struct + Accounts []*Account + DialogID string + DialogType DialogType + Subtitle string + Title string + func (v *EventDialogShown) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventDialogShown) UnmarshalJSON(data []byte) error + func (v EventDialogShown) MarshalEasyJSON(w *jwriter.Writer) + func (v EventDialogShown) MarshalJSON() ([]byte, error) + type LoginState string + const LoginStateSignIn + const LoginStateSignUp + func (t *LoginState) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *LoginState) UnmarshalJSON(buf []byte) error + func (t LoginState) MarshalEasyJSON(out *jwriter.Writer) + func (t LoginState) MarshalJSON() ([]byte, error) + func (t LoginState) String() string + type OpenURLParams struct + AccountIndex int64 + AccountURLType AccountURLType + DialogID string + func OpenURL(dialogID string, accountIndex int64, accountURLType AccountURLType) *OpenURLParams + func (p *OpenURLParams) Do(ctx context.Context) (err error) + func (v *OpenURLParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *OpenURLParams) UnmarshalJSON(data []byte) error + func (v OpenURLParams) MarshalEasyJSON(w *jwriter.Writer) + func (v OpenURLParams) MarshalJSON() ([]byte, error) + type ResetCooldownParams struct + func ResetCooldown() *ResetCooldownParams + func (p *ResetCooldownParams) Do(ctx context.Context) (err error) + func (v *ResetCooldownParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ResetCooldownParams) UnmarshalJSON(data []byte) error + func (v ResetCooldownParams) MarshalEasyJSON(w *jwriter.Writer) + func (v ResetCooldownParams) MarshalJSON() ([]byte, error) + type SelectAccountParams struct + AccountIndex int64 + DialogID string + func SelectAccount(dialogID string, accountIndex int64) *SelectAccountParams + func (p *SelectAccountParams) Do(ctx context.Context) (err error) + func (v *SelectAccountParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SelectAccountParams) UnmarshalJSON(data []byte) error + func (v SelectAccountParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SelectAccountParams) MarshalJSON() ([]byte, error)