Registry / auth / gmail-xoauth

gmail-xoauth

JSON →
library0.4.3rbrubygemsunverified

Get access to Gmail IMAP and STMP via OAuth, using the standard Ruby Net libraries

gem install gmail_xoauth
INSTALL
IMPORT
SIG · GMAIL-XOAUTH
G
gmail-xoauth
authrubyv0.4.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GmailXoauth
require 'gmail_xoauth'

Authenticate to Gmail IMAP using OAuth2.

require 'gmail_xoauth' imap = Net::IMAP.new('imap.gmail.com', 993, usessl: true, certs: nil) imap.authenticate('XOAUTH2', 'user@gmail.com', 'access_token')
Debug
Known issues
gotchaRequires OAuth2 access token; deprecated password-based authentication not supported.
fix
Ensure you have a valid OAuth2 token from Google.
affects: >= 0
Upgrade
Version history
0.4.3latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Resources
gmail-xoauth — gem install gmail-xoauth · libregistry