Top Level Namespace

Defined Under Namespace

Modules: LinkedinIDToken, LinkedinSignIn

Instance Method Summary collapse

Instance Method Details

#jsonObject

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)

Author:

  • Tim Bray, adapted from code by Bob Aman



25
# File 'lib/linkedin-id-token.rb', line 25

require 'json'