@Path(value="/auth")
@Produces(value="application/json;charset=UTF-8")
@Consumes(value="application/json;charset=UTF-8")
public interface IAuth
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
auth(Authentication auth) |
void |
logout()
logout the current user and destroy his jwt token
|
java.lang.String |
refresh(java.lang.String currentToken) |
@PUT @Path(value="/") java.lang.String auth(Authentication auth)
auth - the auth object@PUT
@Path(value="/refresh")
@Consumes(value={"application/json;charset=UTF-8","text/plain"})
java.lang.String refresh(java.lang.String currentToken)
currentToken - token which will expire soon@PUT @Path(value="/logout") void logout()
Copyright © 2017-2018 Cinovo AG. All Rights Reserved.