Sha256: 627792dfa01c63677f04acdc6519f7272e1d1811347c20a6bc98a16d92fe4142

Contents?: true

Size: 502 Bytes

Versions: 6

Compression:

Stored size: 502 Bytes

Contents

module FlexmlsApi
  module Authentication
    module OAuth2Impl
      class PasswordProvider < FlexmlsApi::Authentication::BaseOAuth2Provider
        def initialize(credentials)
          super(credentials)
          @grant_type = :password
        end
        
        def load_session()
          @session
        end
      
        def save_session(session)
          @session = session
        end
      
        def destroy_session
          @session = nil
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
spark_api-1.0.2 lib/spark_api/authentication/oauth2_impl/password_provider.rb~
spark_api-1.0.1 lib/spark_api/authentication/oauth2_impl/password_provider.rb~
spark_api-1.0.0 lib/spark_api/authentication/oauth2_impl/password_provider.rb~
flexmls_api-0.7.3 lib/flexmls_api/authentication/oauth2_impl/password_provider.rb
flexmls_api-0.7.5 lib/flexmls_api/authentication/oauth2_impl/password_provider.rb
flexmls_api-0.7.0 lib/flexmls_api/authentication/oauth2_impl/password_provider.rb