@StableMinor(version="12.3", sinceVersion="10.0") @Path(value="/mobile/v1.0") public class MobileAPIV10 extends Object
1.0
.Constructor and Description |
---|
MobileAPIV10() |
Modifier and Type | Method and Description |
---|---|
protected String |
getGCMProjectId()
Returns the GCM project identifier.
|
protected String |
getLoginRedirectURL()
Returns the after-login redirect URL or
null if there's none. |
String |
getWebsiteInfo() |
Response |
keepAlive()
Endpoint to keep user's session alive.
|
Response |
mobileLogin(String login,
String password)
Login operation targeted to mobile devices.
|
public static final String VERSION
@POST @Path(value="/authentication/login") @Produces(value="application/json") public Response mobileLogin(@FormParam(value="login") @NotNull String login, @FormParam(value="password") String password) throws Exception
login
- the login.password
- the password.Exception
protected String getLoginRedirectURL()
null
if there's none.null
if there's none.protected String getGCMProjectId() throws PortalException
PortalException
@Path(value="/website/info") @GET @Produces(value="application/json") public String getWebsiteInfo() throws Exception
Exception
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.