Documentation
¶
Overview ¶
Proton encumberance utilities Initially based on https://github.com/tee-he-he/err_err_ttyl/blob/a3f296a5caaf7f23afa20c8841da39fe18a275bd/scripts/protonmail.py
Index ¶
- type ProtonEncumberer
- func (p *ProtonEncumberer) Encumber(ctx context.Context) (*ProtonEncumbererOutput, error)
- func (p *ProtonEncumberer) GetTwitterVerificationCode(ctx context.Context) (string, error)
- func (p *ProtonEncumberer) Login(ctx context.Context, driver *selenium_utils.SeleniumDriver) error
- func (p *ProtonEncumberer) SetNewPassword(ctx context.Context, driver *selenium_utils.SeleniumDriver, newPassword string) error
- type ProtonEncumbererCredentials
- type ProtonEncumbererOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProtonEncumberer ¶
type ProtonEncumberer struct {
// contains filtered or unexported fields
}
func NewProtonEncumberer ¶
func NewProtonEncumberer(credentials ProtonEncumbererCredentials) *ProtonEncumberer
func (*ProtonEncumberer) Encumber ¶
func (p *ProtonEncumberer) Encumber(ctx context.Context) (*ProtonEncumbererOutput, error)
func (*ProtonEncumberer) GetTwitterVerificationCode ¶
func (p *ProtonEncumberer) GetTwitterVerificationCode(ctx context.Context) (string, error)
func (*ProtonEncumberer) Login ¶
func (p *ProtonEncumberer) Login(ctx context.Context, driver *selenium_utils.SeleniumDriver) error
func (*ProtonEncumberer) SetNewPassword ¶
func (p *ProtonEncumberer) SetNewPassword(ctx context.Context, driver *selenium_utils.SeleniumDriver, newPassword string) error
type ProtonEncumbererOutput ¶
type ProtonEncumbererOutput struct {
NewPassword string
}
Click to show internal directories.
Click to hide internal directories.