public class VirgilClientContext extends Object
| Constructor and Description |
|---|
VirgilClientContext(String accessToken)
Create a new instance of
VirgilClientContext |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessToken()
Gets the access token.
|
String |
getCardsServiceAddress()
Gets the cards service URL.
|
String |
getIdentityServiceAddress()
Gets the identity service address.
|
String |
getReadOnlyCardsServiceAddress()
Gets the read only cards service address.
|
static boolean |
isValidURI(String uri)
Verify is URI well-formed.
|
void |
setAccessToken(String accessToken) |
void |
setCardsServiceAddress(String address) |
void |
setIdentityServiceAddress(String address) |
void |
setReadOnlyCardsServiceAddress(String address) |
public VirgilClientContext(String accessToken)
VirgilClientContextaccessToken - The application access token.public String getAccessToken()
public void setAccessToken(String accessToken)
accessToken - the accessToken to setpublic String getCardsServiceAddress()
public void setCardsServiceAddress(String address)
address - the cardsServiceAddress to setpublic String getReadOnlyCardsServiceAddress()
public void setReadOnlyCardsServiceAddress(String address)
address - the readOnlyCardsServiceAddress to setpublic String getIdentityServiceAddress()
public void setIdentityServiceAddress(String address)
address - the identityServiceAddress to setpublic static boolean isValidURI(String uri)
uri - The URI to be verified.true if URI is well-formed, false in other case.Copyright © 2016. All rights reserved.