1.17.8 (latest) 1.17.7 1.16.2 1.15.1 1.14.0 1.13.1 1.12.2 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

```ruby
def self.default()
```
Returns the value of attribute default.

### .default=

```ruby
def self.default=(value)
```
Sets the attribute default

### #delete

```ruby
def delete(_id)
```
Remove the token data from storage for the given ID.
**Parameter**

- **id** (String) --- ID of the token data to delete
**Raises**

- (NoMethodError)

### #load

```ruby
def load(_id) -> String
```
Load the token data from storage for the given ID.
**Parameter**

- **id** (String) --- ID of token data to load.
**Returns**

- (String) --- The loaded token data.
**Raises**

- (NoMethodError)

### #store

```ruby
def store(_id, _token)
```
Put the token data into storage for the given ID.
**Parameters**

- **id** (String) --- ID of token data to store.
- **token** (String) --- The token data to store.
**Raises**

- (NoMethodError)