Sha256: d8a7134d62833abe09785f951469a22d2b5a013a6d6cf658dd9ae4d479b848d1

Contents?: true

Size: 789 Bytes

Versions: 8

Compression:

Stored size: 789 Bytes

Contents

# ------------------------------------------------------------------------------
# ~/lib/j1_app/j1_auth_manager/omniauth/strategies/helpers_twitter.rb
#
# Provides helper methods for the twitter omniauth strategy
#
# Product/Info:
# https://jekyll.one
#
# Copyright (C) 2019 Juergen Adams
#
# J1 Template is licensed under the MIT License
# See: https://github.com/jekyll-one-org/j1_template/blob/master/LICENSE
#
# ------------------------------------------------------------------------------
# NOTES
#
# ------------------------------------------------------------------------------

module J1App
  module TwitterHelpers

    # The authenticated user object
    #
    # Supports a variety of methods, name, full_name, email, etc
    def twitter_user
      warden.user
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
j1_template-2019.4.12 lib/j1_app/j1_auth_manager/helpers_twitter.rb
j1_template-2019.4.11 lib/j1_app/j1_auth_manager/helpers_twitter.rb
j1_template-2019.4.10 lib/j1_app/j1_auth_manager/helpers_twitter.rb
j1_template-2019.4.8 lib/j1_app/j1_auth_manager/helpers_twitter.rb
j1_template-2019.4.7 lib/j1_app/j1_auth_manager/helpers_twitter.rb
j1_template-2019.4.5 lib/j1_app/j1_auth_manager/helpers_twitter.rb
j1_template-2019.4.4 lib/j1_app/j1_auth_manager/helpers_twitter.rb
j1_template-2019.4.1 lib/j1_app/j1_auth_manager/helpers_twitter.rb