package gw.api.rest.framework.v1 uses gw.api.rest.RequestContext uses gw.api.rest.auth.RestAuthenticationUtil @SuppressWarnings({"unused"}) class SessionHandler { function createSession(context : RequestContext) { RestAuthenticationUtil.createSession(context) } function logoutSession(context : RequestContext) { RestAuthenticationUtil.logout(context) } function touchSession(context : RequestContext) { RestAuthenticationUtil.touch(context) } function getServiceTokenId(context : RequestContext) : String { return RestAuthenticationUtil.getServiceTokenId(context); } }