Module: Google::Auth::Extras::TokenInfo
Overview
This module provides methods to lookup details about authenication tokens, primarily for their expiration.
Defined Under Namespace
Classes: LookupFailed, LookupMalformed
Instance Method Summary collapse
-
#lookup_access_token(token) ⇒ Hash
Lookup the details for a valid access token, including it’s expiration.
Instance Method Details
#lookup_access_token(token) ⇒ Hash
Lookup the details for a valid access token, including it’s expiration.
26 27 28 |
# File 'lib/google/auth/extras/token_info.rb', line 26 def lookup_access_token(token) lookup(access_token: token) end |