Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewXoauth2Client ¶
func NewXoauth2Client(username, token string) sasl.Client
An implementation of the XOAUTH2 authentication mechanism, as described in https://developers.google.com/gmail/xoauth2_protocol.
Types ¶
type Xoauth2Error ¶
type Xoauth2Error struct { Status string `json:"status"` Schemes string `json:"schemes"` Scope string `json:"scope"` }
An XOAUTH2 error.
Click to show internal directories.
Click to hide internal directories.