public class VirgilConfig extends Object
VirgilConfig is responsible for the initialization of the
high-level SDK components.| Constructor and Description |
|---|
VirgilConfig() |
| Modifier and Type | Method and Description |
|---|---|
static void |
init(String accessToken)
Initializes a Virgil high-level API with specified access token.
|
static void |
reset()
Restores the persisted high-level SDK components values to their
corresponding default properties.
|
static void |
setCardValidator(CardValidator validator)
Sets the card validator.
|
static void |
setKeyStorage(KeyStorage storage)
Sets the keys storage.
|
public static void init(String accessToken)
Initializes a Virgil high-level API with specified access token.
The access token provides an authenticated secure access to the Virgil Security services and is passed with each API call. The access token also allows the API to associate your app’s requests with your Virgil Security developer’s account.
accessToken - The access token.public static void setCardValidator(CardValidator validator)
validator - The card validator to be set.public static void setKeyStorage(KeyStorage storage)
storage - The key storage to be set.public static void reset()
Copyright © 2016. All rights reserved.