Sha256: fb639202698a6d47f2d528ff648941978da36b2cf4760746935643a78e3bf549

Contents?: true

Size: 788 Bytes

Versions: 48

Compression:

Stored size: 788 Bytes

Contents

module RubyApp

  module Elements

    module Mobile

      module Documents

        module Authentication

          module OAuth
            require 'ruby_app/elements/mobile/documents/authentication/o_auth/authentication_document'

            class EmailAuthenticationDocument < RubyApp::Elements::Mobile::Documents::Authentication::OAuth::AuthenticationDocument

              template_path(:all, File.dirname(__FILE__))

              def initialize(access_key, secret_key, scopes, options)
                super(access_key, secret_key, scopes, options)
              end

              def create_identity_from_email(email)
                return RubyApp::Session::Identity.new(email)
              end

            end

          end

        end

      end

    end

  end

end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
RubyApp-0.7.16 lib/ruby_app/elements/mobile/documents/authentication/o_auth/email_authentication_document.rb
RubyApp-0.7.15 lib/ruby_app/elements/mobile/documents/authentication/o_auth/email_authentication_document.rb
RubyApp-0.7.14 lib/ruby_app/elements/mobile/documents/authentication/o_auth/email_authentication_document.rb
RubyApp-0.7.13 lib/ruby_app/elements/mobile/documents/authentication/o_auth/email_authentication_document.rb
RubyApp-0.7.12 lib/ruby_app/elements/mobile/documents/authentication/o_auth/email_authentication_document.rb
RubyApp-0.7.11 lib/ruby_app/elements/mobile/documents/authentication/o_auth/email_authentication_document.rb
RubyApp-0.7.10 lib/ruby_app/elements/mobile/documents/authentication/o_auth/email_authentication_document.rb
RubyApp-0.7.9 lib/ruby_app/elements/mobile/documents/authentication/o_auth/email_authentication_document.rb
RubyApp-0.7.5 lib/ruby_app/elements/mobile/documents/authentication/o_auth/email_authentication_document.rb
RubyApp-0.7.4 lib/ruby_app/elements/mobile/documents/authentication/o_auth/email_authentication_document.rb
RubyApp-0.7.3 lib/ruby_app/elements/mobile/documents/authentication/o_auth/email_authentication_document.rb
RubyApp-0.7.2 lib/ruby_app/elements/mobile/documents/authentication/o_auth/email_authentication_document.rb
RubyApp-0.7.1 lib/ruby_app/elements/mobile/documents/authentication/o_auth/email_authentication_document.rb
RubyApp-0.7.0 lib/ruby_app/elements/mobile/documents/authentication/o_auth/email_authentication_document.rb
RubyApp-0.6.71 lib/ruby_app/elements/mobile/documents/authentication/o_auth/email_authentication_document.rb
RubyApp-0.6.70 lib/ruby_app/elements/mobile/documents/authentication/o_auth/email_authentication_document.rb
RubyApp-0.6.69 lib/ruby_app/elements/mobile/documents/authentication/o_auth/email_authentication_document.rb
RubyApp-0.6.68 lib/ruby_app/elements/mobile/documents/authentication/o_auth/email_authentication_document.rb
RubyApp-0.6.67 lib/ruby_app/elements/mobile/documents/authentication/o_auth/email_authentication_document.rb
RubyApp-0.6.66 lib/ruby_app/elements/mobile/documents/authentication/o_auth/email_authentication_document.rb