SdkOAuth2Session

Class: SdkOAuth2Session

Version 1.6 - Updated on 03/23/2017

Contents

Instance Attribute Summary

Attributes inherited from SdkSessionBase:

  • #locale

Constructor Details

#initialize(oauth2_access_token, locale = nil) ⇒ SdkOAuth2Session

Returns a new instance of SdkOAuth2Session.

  class="language-ruby">def initialize(oauth2_access_token, locale=nil)
      super(locale)
      if not oauth2_access_token.is_a?(String)
        raise "bad type for oauth2_access_token (expecting String)"
      end
      @access_token = oauth2_access_token
    end
    

Instance Method Details

#assert_authorized ⇒ Object

  class="language-ruby">def assert_authorized
      true
    end
    

Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.