class GenerateOAuthToken

JWT Token-generated based on the Request type

Public Instance Methods

getToken(merchantconfig_obj,gmtDatetime,log_obj) click to toggle source
# File lib/AuthenticationSDK/authentication/oauth/OAuthToken.rb, line 8
def getToken(merchantconfig_obj,gmtDatetime,log_obj)
  token = merchantconfig_obj.accessToken
rescue StandardError => err
  ApiException.new.apiexception(err,log_obj)
  exit!
end