module PWN::Plugins::OAuth2
def self.get_value_by_key(opts)
def self.get_value_by_key(opts) s[:oauth2_token] receiving a symbol. Convert to string first in case an int is passed. o_s.to_sym out the ugly tail of this stuff. ken = Base64.decode64(oauth2_token).match(/^(.*?)\]\}/).to_s body = JSON.parse(readable_oauth2_token.split(/^\{(.*?)\}/)[-1], symbolize_names: true) body[key] => e