public IsUnknownOrInvalidTokenResponse IsUnknownOrInvalidToken(IsUnknownOrInvalidTokenRequest request) { IsUnknownOrInvalidTokenResponse response = new IsUnknownOrInvalidTokenResponse(); try { IsUnknownOrInvalidTokenResponse isUnknownOrInvalidTokenResponse = new UserServerObjectService().IsUnknownOrInvalidToken(new IsUnknownOrInvalidTokenRequest() { fbToken = request.fbToken }); if (isUnknownOrInvalidTokenResponse.Result.Success()) { response.Result = new Ac4yProcessResult() { Code = Ac4yProcessResult.SUCCESS, Message = "unknown or invalid token" } } ; else { response.Result = new Ac4yProcessResult() { Code = Ac4yProcessResult.INEFFECTIVE, Message = "létező token" } }; } catch (Exception exception) { response.Result = (new Ac4yProcessResult() { Code = Ac4yProcessResult.FAIL, Message = exception.Message, Description = exception.StackTrace }); } return(response); }
public IsUnknownOrInvalidTokenResponse IsUnkmnownOrInvalidToken(IsUnknownOrInvalidTokenRequest request) { return(new GigServerPersistentObjectService().IsUnknownOrInvalidToken(request)); }