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::Stores::FileTokenStore.

Implementation of user token storage backed by a local YAML file

## Inherits

- [Google::Auth::TokenStore](https://docs.cloud.google.com/ruby/docs/reference/googleauth/latest/Google-Auth-TokenStore.md.txt)

## Methods

### #delete

```ruby
def delete(id)
```

### #initialize

```ruby
def initialize(options = {}) -> FileTokenStore
```
Create a new store with the supplied file.
**Parameter**

- **file** (String, File) --- Path to storage file
**Returns**

- ([FileTokenStore](https://docs.cloud.google.com/ruby/docs/reference/googleauth/latest/Google-Auth-Stores-FileTokenStore.md.txt)) --- a new instance of FileTokenStore

### #load

```ruby
def load(id)
```

### #store

```ruby
def store(id, token)
```