class Net::IMAP::XOauth2Authenticator

Public Class Methods

new(user, oauth2_token) click to toggle source
# File net-imap-0.3.1/lib/net/imap/authenticators/xoauth2.rb, line 10
def initialize(user, oauth2_token)
  @user = user
  @oauth2_token = oauth2_token
end

Public Instance Methods

process(_data) click to toggle source
# File net-imap-0.3.1/lib/net/imap/authenticators/xoauth2.rb, line 4
def process(_data)
  build_oauth2_string(@user, @oauth2_token)
end