public interface AppContextProvider
| Modifier and Type | Method and Description |
|---|---|
org.elastos.did.DIDDocument |
getAppInstanceDocument()
The method for upper Application to implement to provide current application
instance did document as the running context.
|
java.util.concurrent.CompletableFuture<java.lang.String> |
getAuthorization(java.lang.String authenticationChallengeJWtCode)
The method for upper Application to implement to acquire the authorization
code from user's approval.
|
java.lang.String |
getLocalDataDir()
The method for upper Application to implement to set up the directory
to store local data, especially for access tokens.
|
java.lang.String getLocalDataDir()
org.elastos.did.DIDDocument getAppInstanceDocument()
java.util.concurrent.CompletableFuture<java.lang.String> getAuthorization(java.lang.String authenticationChallengeJWtCode)
authenticationChallengeJWtCode - The input challenge code from back-end node service.