getAuthByKey: added option to use object definition instead of string only
Merge pull request #51 from jungvonmatt/master

getAuthByKey: added option to use object definition instead of string only