Top Level Namespace
Defined Under Namespace
Modules: LinkedinIDToken, LinkedinSignIn
Instance Method Summary collapse
-
#json ⇒ Object
Validates strings alleged to be ID Tokens issued by Google; if validation succeeds, returns the decoded ID Token as a hash.
Instance Method Details
#json ⇒ Object
Validates strings alleged to be ID Tokens issued by Google; if validation
succeeds, returns the decoded ID Token as a hash.
It’s a good idea to keep an instance of this class around for a long time,
because it caches the keys, performs validation statically, and only
refreshes from Google when required (once per day by default)
25 |
# File 'lib/linkedin-id-token.rb', line 25 require 'json' |