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.
|
URL |
getCardsServiceURL() |
URL |
getIdentityServiceURL() |
URL |
getReadOnlyCardsServiceURL() |
static boolean |
isValidURI(String uri)
Verify is URI well-formed.
|
void |
setAccessToken(String accessToken) |
void |
setCardsServiceURL(URL cardsServiceURL) |
void |
setIdentityServiceURL(URL identityServiceURL) |
void |
setReadOnlyCardsServiceURL(URL readOnlyCardsServiceURL) |
public VirgilClientContext(String accessToken)
VirgilClientContextaccessToken - The application access token.public String getAccessToken()
public void setAccessToken(String accessToken)
accessToken - the accessToken to setpublic static boolean isValidURI(String uri)
uri - The URI to be verified.true if URI is well-formed, false in other case.public URL getReadOnlyCardsServiceURL()
public void setReadOnlyCardsServiceURL(URL readOnlyCardsServiceURL)
readOnlyCardsServiceURL - the readOnlyCardsServiceURL to setpublic URL getCardsServiceURL()
public void setCardsServiceURL(URL cardsServiceURL)
cardsServiceURL - the cardsServiceURL to setpublic URL getIdentityServiceURL()
public void setIdentityServiceURL(URL identityServiceURL)
identityServiceURL - the identityServiceURL to setCopyright © 2017. All rights reserved.