Class: SdkOAuth2Session

Version 1.5 - Updated on 12/15/2016

Contents

Instance Attribute Summary

Attributes inherited from SdkSessionBase:

  • #locale

Constructor Details

#initialize(oauth2_access_token, locale = nil) ⇒ SdkOAuth2Session

Returns a new instance of SdkOAuth2Session.

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

def assert_authorized
  true
end

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