public interface TokenStore
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String id)
Remove the token data from storage for the given ID.
|
String |
load(String id)
Load the token data from storage for the given ID.
|
void |
store(String id,
String tokens)
Put the token data into storage for the given ID.
|
String load(String id) throws IOException
id - ID of token data to load.IOException - An error loading the token data from storage.void store(String id, String tokens) throws IOException
id - ID of token data to store.tokens - The token data to store.IOException - An error storing the token data.void delete(String id) throws IOException
id - ID of token data to store.IOException - An error storing the token data.Copyright © 2015 Google. All rights reserved.