Sha256: 8de66da71d54c3457cb3c087e456e64e93b77a10384361799f8ba8378f379264

Contents?: true

Size: 401 Bytes

Versions: 71

Compression:

Stored size: 401 Bytes

Contents

module SparkApi
  module Authentication
    class SimpleProvider < BaseOAuth2Provider
      def initialize(credentials)
        super(credentials)
        @grant_type = :authorization_code
      end

      def load_session
        @session
      end 

      def save_session session
        @session = session
      end 

      def destroy_session
        @session = nil 
      end 
    end
  end
end

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
spark_api-1.4.24 lib/spark_api/authentication/oauth2_impl/simple_provider.rb
spark_api-1.4.23 lib/spark_api/authentication/oauth2_impl/simple_provider.rb
spark_api-1.4.22 lib/spark_api/authentication/oauth2_impl/simple_provider.rb
spark_api-1.4.21 lib/spark_api/authentication/oauth2_impl/simple_provider.rb
spark_api-1.4.20 lib/spark_api/authentication/oauth2_impl/simple_provider.rb
spark_api-1.4.19 lib/spark_api/authentication/oauth2_impl/simple_provider.rb
spark_api-1.4.18 lib/spark_api/authentication/oauth2_impl/simple_provider.rb
spark_api-1.4.17 lib/spark_api/authentication/oauth2_impl/simple_provider.rb
spark_api-1.4.16 lib/spark_api/authentication/oauth2_impl/simple_provider.rb
spark_api-1.4.15 lib/spark_api/authentication/oauth2_impl/simple_provider.rb
spark_api-1.4.14 lib/spark_api/authentication/oauth2_impl/simple_provider.rb
spark_api-1.4.13 lib/spark_api/authentication/oauth2_impl/simple_provider.rb
spark_api-1.4.12 lib/spark_api/authentication/oauth2_impl/simple_provider.rb
spark_api-1.4.11 lib/spark_api/authentication/oauth2_impl/simple_provider.rb
spark_api-1.4.10 lib/spark_api/authentication/oauth2_impl/simple_provider.rb
spark_api-1.4.9 lib/spark_api/authentication/oauth2_impl/simple_provider.rb
spark_api-1.4.8 lib/spark_api/authentication/oauth2_impl/simple_provider.rb
spark_api-1.4.6 lib/spark_api/authentication/oauth2_impl/simple_provider.rb
spark_api-1.4.5 lib/spark_api/authentication/oauth2_impl/simple_provider.rb
spark_api-1.4.4 lib/spark_api/authentication/oauth2_impl/simple_provider.rb