Reference documentation and code samples for the googleauth class Google::Auth::TokenStore.
Interface definition for token stores. It is not required that
implementations inherit from this class. It is provided for documentation
purposes to illustrate the API contract.
Inherits
Object
Methods
.default
defself.default()
Returns the value of attribute default.
.default=
defself.default=(value)
Sets the attribute default
#delete
defdelete(_id)
Remove the token data from storage for the given ID.
Parameter
id (String) — ID of the token data to delete
Raises
(NoMethodError)
#load
defload(_id)->String
Load the token data from storage for the given ID.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]