[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# googleauth - Class Google::Auth::Stores::RedisTokenStore (v1.15.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.15.0 (latest)](/ruby/docs/reference/googleauth/latest/Google-Auth-Stores-RedisTokenStore)\n- [1.14.0](/ruby/docs/reference/googleauth/1.14.0/Google-Auth-Stores-RedisTokenStore)\n- [1.13.1](/ruby/docs/reference/googleauth/1.13.1/Google-Auth-Stores-RedisTokenStore)\n- [1.12.2](/ruby/docs/reference/googleauth/1.12.2/Google-Auth-Stores-RedisTokenStore) \nReference documentation and code samples for the googleauth class Google::Auth::Stores::RedisTokenStore.\n\nImplementation of user token storage backed by Redis. Tokens\nare stored as JSON using the supplied key, prefixed with\n`g-user-token:` \n\nInherits\n--------\n\n- [Google::Auth::TokenStore](./Google-Auth-TokenStore)\n\nMethods\n-------\n\n### #delete\n\n def delete(id)\n\n### #initialize\n\n def initialize(options = {}) -\u003e RedisTokenStore\n\nCreate a new store with the supplied redis client. \n**Parameters**\n\n- **redis** (::Redis, String) --- Initialized redis client to connect to.\n- **prefix** (String) --- Prefix for keys in redis. Defaults to 'g-user-token:' \n**Returns**\n\n- ([RedisTokenStore](./Google-Auth-Stores-RedisTokenStore)) --- a new instance of RedisTokenStore\n\n### #load\n\n def load(id)\n\n### #store\n\n def store(id, token)\n\nConstants\n---------\n\n### DEFAULT_KEY_PREFIX\n\n**value:**\"g-user-token:\".freeze"]]