public final class RestToken extends FindexBase
FindexBase.IndexRequest<SELF extends FindexBase.IndexRequest<SELF>>, FindexBase.SearchRequest<SELF extends FindexBase.SearchRequest<SELF>>| Constructor and Description |
|---|
RestToken() |
| Modifier and Type | Method and Description |
|---|---|
static String |
generateNewToken(String indexId,
byte[] fetchEntrySeed,
byte[] fetchChainSeed,
byte[] upsertEntrySeed,
byte[] insertChainSeed)
Generate a new authentication token using the given callback seeds.
|
get_last_error, get_last_error, set_error, unwrappublic static String generateNewToken(String indexId, byte[] fetchEntrySeed, byte[] fetchChainSeed, byte[] upsertEntrySeed, byte[] insertChainSeed) throws CloudproofException
indexId - a String used to target the correct index in the serverfetchEntrySeed - the seed used to authenticate the fetch callback to the Entry TablefetchChainSeed - the seed used to authenticate the fetch callback to the Chain TableupsertEntrySeed - the seed used to authenticate the upsert callback to the Entry TableinsertChainSeed - the seed used to authenticate the insert callback to the Chain TableString representing the tokenCloudproofException - if anything goes wrongCopyright © 2023. All rights reserved.