Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OAuth2String ¶
Generates an unencoded XOAuth2 string of the form
"user=" {User} "^Aauth=Bearer " {Access Token} "^A^A"
as defined at https://developers.google.com/google-apps/gmail/xoauth2_protocol#the_sasl_xoauth2_mechanism.
The function XOAuth2String in this package returns the base64 encoding of this string.
func XOAuth2String ¶
Generates a base64-encoded XOAuth2 string suitable for use in SASL XOAUTH2, as defined at https://developers.google.com/google-apps/gmail/xoauth2_protocol#the_sasl_xoauth2_mechanism.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.