Package | Description |
---|---|
org.nuxeo.ecm.automation.client | |
org.nuxeo.ecm.automation.client.jaxrs.spi |
Modifier and Type | Method and Description |
---|---|
Session |
AutomationClient.getSession(TokenCallback cb)
Creates a new session using the given token callback by following these steps:
Look for a token saved locally using
getLocalToken()
If it doesn't exist, use TokenCallback#getRemoteToken(java.util.Map)) to acquire a token remotely
using the information gathered by getTokenParams() , and save the token locally using
saveToken(String)
Get a session with the token using AutomationClient.getSession(String)
|
Modifier and Type | Method and Description |
---|---|
Session |
AbstractAutomationClient.getSession(TokenCallback cb) |
Copyright © 2018 Nuxeo. All rights reserved.